Uses of Interface
dev.wyck.worldgen.structure.pools.TemplatePool
Packages that use TemplatePool
Package
Description
-
Uses of TemplatePool in dev.wyck.worldgen.structure
Methods in dev.wyck.worldgen.structure with parameters of type TemplatePoolModifier and TypeMethodDescriptionstatic JigsawStructure.BuilderStructure.jigsaw(StructureSettings settings, TemplatePool startPool) Creates a new builder for a jigsaw structure, which grows outward from a piece drawn from its start pool. -
Uses of TemplatePool in dev.wyck.worldgen.structure.pools
Fields in dev.wyck.worldgen.structure.pools declared as TemplatePoolMethods in dev.wyck.worldgen.structure.pools that return TemplatePoolModifier and TypeMethodDescriptionstatic TemplatePoolReads a Minecraft template pool, or a keyed template-pool holder, into a wrapper.default TemplatePoolTemplatePool.wrap()Resolves this pool's key in Minecraft's template-pool registry and decodes the registered value, keeping the key on the result. -
Uses of TemplatePool in dev.wyck.worldgen.structure.pools.alias
Methods in dev.wyck.worldgen.structure.pools.alias that return TemplatePoolModifier and TypeMethodDescriptionPoolAliasBinding.Direct.alias()Returns the value of thealiasrecord component.PoolAliasBinding.Random.alias()Returns the value of thealiasrecord component.PoolAliasBinding.Direct.target()Returns the value of thetargetrecord component.Methods in dev.wyck.worldgen.structure.pools.alias that return types with arguments of type TemplatePoolModifier and TypeMethodDescriptionPoolAliasBinding.Random.targets()Returns the value of thetargetsrecord component.Methods in dev.wyck.worldgen.structure.pools.alias with parameters of type TemplatePoolModifier and TypeMethodDescriptionstatic PoolAliasBinding.DirectPoolAliasBinding.direct(TemplatePool alias, TemplatePool target) Always resolves the alias to the same target.static PoolAliasBinding.RandomPoolAliasBinding.random(TemplatePool alias, WeightedList<TemplatePool> targets) Resolves the alias to one weighted target.Method parameters in dev.wyck.worldgen.structure.pools.alias with type arguments of type TemplatePoolModifier and TypeMethodDescriptionstatic PoolAliasBinding.RandomPoolAliasBinding.random(TemplatePool alias, WeightedList<TemplatePool> targets) Resolves the alias to one weighted target.Constructors in dev.wyck.worldgen.structure.pools.alias with parameters of type TemplatePoolModifierConstructorDescriptionDirect(TemplatePool alias, TemplatePool target) Creates an instance of aDirectrecord class.Random(TemplatePool alias, WeightedList<TemplatePool> targets) Creates an instance of aRandomrecord class.Constructor parameters in dev.wyck.worldgen.structure.pools.alias with type arguments of type TemplatePoolModifierConstructorDescriptionRandom(TemplatePool alias, WeightedList<TemplatePool> targets) Creates an instance of aRandomrecord class. -
Uses of TemplatePool in dev.wyck.worldgen.structure.pools.types
Subinterfaces of TemplatePool in dev.wyck.worldgen.structure.pools.typesModifier and TypeInterfaceDescriptioninterfaceA template pool authored from, or decoded into, its weighted elements and fallback.interfaceA reference to an existing registered template pool.Methods in dev.wyck.worldgen.structure.pools.types that return TemplatePoolModifier and TypeMethodDescriptionComposedTemplatePool.fallback()The pool used when a jigsaw block's piece from this pool cannot fit, or when the maximum depth is reached.Methods in dev.wyck.worldgen.structure.pools.types with parameters of type TemplatePoolModifier and TypeMethodDescriptionComposedTemplatePool.Builder.fallback(TemplatePool fallback) Sets the pool used when a piece from this pool cannot fit.static ComposedTemplatePoolComposedTemplatePool.of(@Nullable ResourceKey resourceKey, TemplatePool fallback, List<ComposedTemplatePool.Entry> elements) Creates a new composed template pool. -
Uses of TemplatePool in dev.wyck.worldgen.structure.types
Methods in dev.wyck.worldgen.structure.types that return TemplatePoolModifier and TypeMethodDescriptionJigsawStructure.startPool()The pool the first piece is drawn from.Methods in dev.wyck.worldgen.structure.types with parameters of type TemplatePoolModifier and TypeMethodDescriptionstatic JigsawStructure.BuilderJigsawStructure.builder(StructureSettings settings, TemplatePool startPool) Creates a new builder.static JigsawStructureJigsawStructure.of(@Nullable ResourceKey resourceKey, StructureSettings settings, TemplatePool startPool, @Nullable ResourceKey startJigsawName, int size, HeightProvider startHeight, boolean useExpansionHack, @Nullable HeightmapType projectStartToHeightmap, JigsawStructure.MaxDistance maxDistanceFromCenter, List<PoolAliasBinding> poolAliases, DimensionPadding dimensionPadding, LiquidSettings liquidSettings) Creates a new jigsaw structure.JigsawStructure.Builder.startPool(TemplatePool startPool) Sets the pool the first piece is drawn from.Constructors in dev.wyck.worldgen.structure.types with parameters of type TemplatePool