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.selectors
The field for theselectors
record 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 SpawnContext
SpawnContext.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 theselectors
record 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) boolean
BiomeCheck.test
(SpawnContext p_400182_) boolean
MoonBrightnessCheck.test
(SpawnContext pContext) boolean
StructureCheck.test
(SpawnContext pContext) Constructor parameters in net.minecraft.world.entity.variant with type arguments of type SpawnContextModifierConstructorDescriptionCreates an instance of aSpawnPrioritySelectors
record class.