History - net.minecraft.entity.SpawnRestriction

26.3-snapshot-3

Names

Fields

Constructors

Methods

26.3-snapshot-2

Names

Fields

Constructors

Methods

26.3-snapshot-1

Names

Fields

Constructors

Methods

26.2

Names

Fields

Constructors

Methods

26.1.2

Names

Fields

Constructors

Methods

26.1.1

Names

Fields

Constructors

Methods

26.1

Names

Fields

Constructors

Methods

1.21.11_unobfuscated

Names

net.minecraft.world.entity.SpawnPlacements

net.minecraft.class_1317

net.minecraft.entity.SpawnRestriction

Fields

Map<EntityType<?>, SpawnRestriction$Entry>: DATA_BY_TYPE, field_6313, RESTRICTIONS

Constructors

()

Methods

<T extends MobEntity> void (EntityType<T>, SpawnLocation, Heightmap$Type, SpawnRestriction$SpawnPredicate<T>): register, method_20637, register

SpawnLocation (EntityType<?>): getPlacementType, method_6159, getLocation

boolean (EntityType<?>, WorldView, BlockPos): isSpawnPositionOk, method_56558, isSpawnPosAllowed

Heightmap$Type (EntityType<?>): getHeightmapType, method_6160, getHeightmapType

<T extends Entity> boolean (EntityType<T>, ServerWorldAccess, SpawnReason, BlockPos, Random): checkSpawnRules, method_20638, canSpawn