* Implement excluded locations * Update Minecraft to use exclusion_rules for its exclusion pools * Flag the enchanted books as advancement so they don't go on excluded locations (particularly the Infinity book) * update playerSettings for exclusion * new items: 32 Arrows, Saddle, structure compasses for overworld structures * move structure linking to create_regions instead of generate_basic * Update Minecraft to use LogicMixin * add separate can_exclude property, so non-progression items can be marked non-excluded * separate fill step for nonadvancement nonexcluded items * made Saddle not a progression item, but also nonexcluded * fix missing player arg * remove higher xp amounts from pool, leaving only 50 XP * fix new Minecraft item IDs * added shulker box item for starting inventory * increment client and data version * change client_version to int instead of tuple * make saddle a progression item * added structure compass option and appropriate logic for all compasses * Update playerSettings.yaml with MC options * update minecraft tests * update exclusion procedure for clarity
		
			
				
	
	
		
			27 lines
		
	
	
		
			627 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			627 B
		
	
	
	
		
			Python
		
	
	
	
	
	
import typing
 | 
						|
from Options import Choice, Option, Toggle, Range
 | 
						|
 | 
						|
 | 
						|
class AdvancementGoal(Range):
 | 
						|
    range_start = 0
 | 
						|
    range_end = 87
 | 
						|
    default = 50
 | 
						|
 | 
						|
 | 
						|
class CombatDifficulty(Choice):
 | 
						|
    option_easy = 0
 | 
						|
    option_normal = 1
 | 
						|
    option_hard = 2
 | 
						|
    default = 1
 | 
						|
 | 
						|
 | 
						|
minecraft_options: typing.Dict[str, type(Option)] = {
 | 
						|
    "advancement_goal": AdvancementGoal,
 | 
						|
    "combat_difficulty": CombatDifficulty,
 | 
						|
    "include_hard_advancements": Toggle,
 | 
						|
    "include_insane_advancements": Toggle,
 | 
						|
    "include_postgame_advancements": Toggle,
 | 
						|
    "shuffle_structures": Toggle,
 | 
						|
    "structure_compasses": Toggle,
 | 
						|
    "bee_traps": Toggle
 | 
						|
} |