Uses of Record Class
net.minecraft.world.entity.variant.SpawnContext
Packages that use SpawnContext
Package
Description
-
Uses of SpawnContext in net.minecraft.world.entity.animal
Methods in net.minecraft.world.entity.animal that return types with arguments of type SpawnContext -
Uses of SpawnContext in net.minecraft.world.entity.animal.frog
Methods in net.minecraft.world.entity.animal.frog that return types with arguments of type SpawnContext -
Uses of SpawnContext in net.minecraft.world.entity.animal.wolf
Methods in net.minecraft.world.entity.animal.wolf that return types with arguments of type SpawnContext -
Uses of SpawnContext in net.minecraft.world.entity.variant
Fields in net.minecraft.world.entity.variant with type parameters of type SpawnContextModifier and TypeFieldDescriptionprivate final List<PriorityProvider.Selector<SpawnContext, SpawnCondition>> SpawnPrioritySelectors.selectorsThe field for theselectorsrecord component.Methods in net.minecraft.world.entity.variant with type parameters of type SpawnContextModifier and TypeMethodDescriptionstatic <T extends PriorityProvider<SpawnContext,?>>
Optional<Holder.Reference<T>> VariantUtils.selectVariantToSpawn(SpawnContext pContext, ResourceKey<Registry<T>> pRegistryKey) Methods in net.minecraft.world.entity.variant that return SpawnContextModifier and TypeMethodDescriptionstatic SpawnContextSpawnContext.create(ServerLevelAccessor pLevel, BlockPos pPos) Methods in net.minecraft.world.entity.variant that return types with arguments of type SpawnContextModifier and TypeMethodDescriptionSpawnPrioritySelectors.selectors()Returns the value of theselectorsrecord component.Methods in net.minecraft.world.entity.variant with parameters of type SpawnContextModifier and TypeMethodDescriptionstatic <T extends PriorityProvider<SpawnContext,?>>
Optional<Holder.Reference<T>> VariantUtils.selectVariantToSpawn(SpawnContext pContext, ResourceKey<Registry<T>> pRegistryKey) booleanBiomeCheck.test(SpawnContext p_400182_) booleanMoonBrightnessCheck.test(SpawnContext pContext) booleanStructureCheck.test(SpawnContext pContext) Constructor parameters in net.minecraft.world.entity.variant with type arguments of type SpawnContextModifierConstructorDescriptionCreates an instance of aSpawnPrioritySelectorsrecord class.