Package net.minecraft.entity
Class EntityType<T extends Entity>
java.lang.Object
net.minecraft.entity.EntityType<T>
- All Implemented Interfaces:
class_5575<Entity,T>
public class EntityType<T extends Entity> extends Object implements class_5575<Entity,T>
- Mappings:
Namespace Name official aqz
intermediary net/minecraft/class_1299
named net/minecraft/entity/EntityType
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EntityType.Builder<T extends Entity>
static interface
EntityType.EntityFactory<T extends Entity>
-
Field Summary
-
Constructor Summary
Constructors Constructor Description EntityType(EntityType.EntityFactory<T> factory, SpawnGroup spawnGroup, boolean saveable, boolean summonable, boolean fireImmune, boolean spawnableFarFromPlayer, ImmutableSet<Block> canSpawnInside, EntityDimensions dimensions, int maxTrackDistance, int trackTickInterval)
-
Method Summary
Modifier and Type Method Description boolean
alwaysUpdateVelocity()
T
create(ServerWorld world, CompoundTag itemTag, Text name, PlayerEntity player, BlockPos pos, SpawnReason spawnReason, boolean alignPosition, boolean invertY)
T
create(World world)
static Entity
createInstanceFromId(int type, World world)
Box
createSimpleBoundingBox(double feetX, double feetY, double feetZ)
static Optional<EntityType<?>>
fromTag(CompoundTag compoundTag)
static Optional<EntityType<?>>
get(String id)
EntityDimensions
getDimensions()
static Optional<Entity>
getEntityFromTag(CompoundTag tag, World world)
float
getHeight()
static Identifier
getId(EntityType<?> type)
Identifier
getLootTableId()
int
getMaxTrackDistance()
Returns the tracking distance, in chunks, of this type of entity for clients.Text
getName()
protected static double
getOriginY(WorldView world, BlockPos pos, boolean invertY, Box boundingBox)
SpawnGroup
getSpawnGroup()
int
getTrackTickInterval()
String
getTranslationKey()
float
getWidth()
boolean
isFireImmune()
boolean
isIn(Tag<EntityType<?>> tag)
boolean
isInvalidSpawn(BlockState state)
Returns whether the EntityType can spawn inside the given block.boolean
isSaveable()
boolean
isSpawnableFarFromPlayer()
boolean
isSummonable()
private static Optional<Entity>
loadEntityFromTag(CompoundTag compoundTag, World world)
static Entity
loadEntityWithPassengers(CompoundTag compoundTag, World world, Function<Entity,Entity> entityProcessor)
static void
loadFromEntityTag(World world, PlayerEntity player, Entity entity, CompoundTag itemTag)
static Stream<Entity>
method_31489(List<? extends Tag> list, World world)
Class<? extends Entity>
method_31794()
T
method_31796(Entity entity)
private static Entity
newInstance(World world, EntityType<?> type)
private static <T extends Entity>
EntityType<T>register(String id, EntityType.Builder<T> type)
T
spawn(ServerWorld world, CompoundTag itemTag, Text name, PlayerEntity player, BlockPos pos, SpawnReason spawnReason, boolean alignPosition, boolean invertY)
Entity
spawnFromItemStack(ServerWorld world, ItemStack stack, PlayerEntity player, BlockPos pos, SpawnReason spawnReason, boolean alignPosition, boolean invertY)
String
toString()
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official bh
Laqz;bh:Lorg/apache/logging/log4j/Logger;
intermediary field_6088
Lnet/minecraft/class_1299;field_6088:Lorg/apache/logging/log4j/Logger;
named LOGGER
Lnet/minecraft/entity/EntityType;LOGGER:Lorg/apache/logging/log4j/Logger;
-
AREA_EFFECT_CLOUD
- Mappings:
Namespace Name Mixin selector official a
Laqz;a:Laqz;
intermediary field_6083
Lnet/minecraft/class_1299;field_6083:Lnet/minecraft/class_1299;
named AREA_EFFECT_CLOUD
Lnet/minecraft/entity/EntityType;AREA_EFFECT_CLOUD:Lnet/minecraft/entity/EntityType;
-
ARMOR_STAND
- Mappings:
Namespace Name Mixin selector official b
Laqz;b:Laqz;
intermediary field_6131
Lnet/minecraft/class_1299;field_6131:Lnet/minecraft/class_1299;
named ARMOR_STAND
Lnet/minecraft/entity/EntityType;ARMOR_STAND:Lnet/minecraft/entity/EntityType;
-
ARROW
- Mappings:
Namespace Name Mixin selector official c
Laqz;c:Laqz;
intermediary field_6122
Lnet/minecraft/class_1299;field_6122:Lnet/minecraft/class_1299;
named ARROW
Lnet/minecraft/entity/EntityType;ARROW:Lnet/minecraft/entity/EntityType;
-
AXOLOTL
- Mappings:
Namespace Name Mixin selector official d
Laqz;d:Laqz;
intermediary field_28315
Lnet/minecraft/class_1299;field_28315:Lnet/minecraft/class_1299;
named AXOLOTL
Lnet/minecraft/entity/EntityType;AXOLOTL:Lnet/minecraft/entity/EntityType;
-
BAT
- Mappings:
Namespace Name Mixin selector official e
Laqz;e:Laqz;
intermediary field_6108
Lnet/minecraft/class_1299;field_6108:Lnet/minecraft/class_1299;
named BAT
Lnet/minecraft/entity/EntityType;BAT:Lnet/minecraft/entity/EntityType;
-
BEE
- Mappings:
Namespace Name Mixin selector official f
Laqz;f:Laqz;
intermediary field_20346
Lnet/minecraft/class_1299;field_20346:Lnet/minecraft/class_1299;
named BEE
Lnet/minecraft/entity/EntityType;BEE:Lnet/minecraft/entity/EntityType;
-
BLAZE
- Mappings:
Namespace Name Mixin selector official g
Laqz;g:Laqz;
intermediary field_6099
Lnet/minecraft/class_1299;field_6099:Lnet/minecraft/class_1299;
named BLAZE
Lnet/minecraft/entity/EntityType;BLAZE:Lnet/minecraft/entity/EntityType;
-
BOAT
- Mappings:
Namespace Name Mixin selector official h
Laqz;h:Laqz;
intermediary field_6121
Lnet/minecraft/class_1299;field_6121:Lnet/minecraft/class_1299;
named BOAT
Lnet/minecraft/entity/EntityType;BOAT:Lnet/minecraft/entity/EntityType;
-
CAT
- Mappings:
Namespace Name Mixin selector official i
Laqz;i:Laqz;
intermediary field_16281
Lnet/minecraft/class_1299;field_16281:Lnet/minecraft/class_1299;
named CAT
Lnet/minecraft/entity/EntityType;CAT:Lnet/minecraft/entity/EntityType;
-
CAVE_SPIDER
- Mappings:
Namespace Name Mixin selector official j
Laqz;j:Laqz;
intermediary field_6084
Lnet/minecraft/class_1299;field_6084:Lnet/minecraft/class_1299;
named CAVE_SPIDER
Lnet/minecraft/entity/EntityType;CAVE_SPIDER:Lnet/minecraft/entity/EntityType;
-
CHICKEN
- Mappings:
Namespace Name Mixin selector official k
Laqz;k:Laqz;
intermediary field_6132
Lnet/minecraft/class_1299;field_6132:Lnet/minecraft/class_1299;
named CHICKEN
Lnet/minecraft/entity/EntityType;CHICKEN:Lnet/minecraft/entity/EntityType;
-
COD
- Mappings:
Namespace Name Mixin selector official l
Laqz;l:Laqz;
intermediary field_6070
Lnet/minecraft/class_1299;field_6070:Lnet/minecraft/class_1299;
named COD
Lnet/minecraft/entity/EntityType;COD:Lnet/minecraft/entity/EntityType;
-
COW
- Mappings:
Namespace Name Mixin selector official m
Laqz;m:Laqz;
intermediary field_6085
Lnet/minecraft/class_1299;field_6085:Lnet/minecraft/class_1299;
named COW
Lnet/minecraft/entity/EntityType;COW:Lnet/minecraft/entity/EntityType;
-
CREEPER
- Mappings:
Namespace Name Mixin selector official n
Laqz;n:Laqz;
intermediary field_6046
Lnet/minecraft/class_1299;field_6046:Lnet/minecraft/class_1299;
named CREEPER
Lnet/minecraft/entity/EntityType;CREEPER:Lnet/minecraft/entity/EntityType;
-
DOLPHIN
- Mappings:
Namespace Name Mixin selector official o
Laqz;o:Laqz;
intermediary field_6087
Lnet/minecraft/class_1299;field_6087:Lnet/minecraft/class_1299;
named DOLPHIN
Lnet/minecraft/entity/EntityType;DOLPHIN:Lnet/minecraft/entity/EntityType;
-
DONKEY
- Mappings:
Namespace Name Mixin selector official p
Laqz;p:Laqz;
intermediary field_6067
Lnet/minecraft/class_1299;field_6067:Lnet/minecraft/class_1299;
named DONKEY
Lnet/minecraft/entity/EntityType;DONKEY:Lnet/minecraft/entity/EntityType;
-
DRAGON_FIREBALL
- Mappings:
Namespace Name Mixin selector official q
Laqz;q:Laqz;
intermediary field_6129
Lnet/minecraft/class_1299;field_6129:Lnet/minecraft/class_1299;
named DRAGON_FIREBALL
Lnet/minecraft/entity/EntityType;DRAGON_FIREBALL:Lnet/minecraft/entity/EntityType;
-
DROWNED
- Mappings:
Namespace Name Mixin selector official r
Laqz;r:Laqz;
intermediary field_6123
Lnet/minecraft/class_1299;field_6123:Lnet/minecraft/class_1299;
named DROWNED
Lnet/minecraft/entity/EntityType;DROWNED:Lnet/minecraft/entity/EntityType;
-
ELDER_GUARDIAN
- Mappings:
Namespace Name Mixin selector official s
Laqz;s:Laqz;
intermediary field_6086
Lnet/minecraft/class_1299;field_6086:Lnet/minecraft/class_1299;
named ELDER_GUARDIAN
Lnet/minecraft/entity/EntityType;ELDER_GUARDIAN:Lnet/minecraft/entity/EntityType;
-
END_CRYSTAL
- Mappings:
Namespace Name Mixin selector official t
Laqz;t:Laqz;
intermediary field_6110
Lnet/minecraft/class_1299;field_6110:Lnet/minecraft/class_1299;
named END_CRYSTAL
Lnet/minecraft/entity/EntityType;END_CRYSTAL:Lnet/minecraft/entity/EntityType;
-
ENDER_DRAGON
- Mappings:
Namespace Name Mixin selector official u
Laqz;u:Laqz;
intermediary field_6116
Lnet/minecraft/class_1299;field_6116:Lnet/minecraft/class_1299;
named ENDER_DRAGON
Lnet/minecraft/entity/EntityType;ENDER_DRAGON:Lnet/minecraft/entity/EntityType;
-
ENDERMAN
- Mappings:
Namespace Name Mixin selector official v
Laqz;v:Laqz;
intermediary field_6091
Lnet/minecraft/class_1299;field_6091:Lnet/minecraft/class_1299;
named ENDERMAN
Lnet/minecraft/entity/EntityType;ENDERMAN:Lnet/minecraft/entity/EntityType;
-
ENDERMITE
- Mappings:
Namespace Name Mixin selector official w
Laqz;w:Laqz;
intermediary field_6128
Lnet/minecraft/class_1299;field_6128:Lnet/minecraft/class_1299;
named ENDERMITE
Lnet/minecraft/entity/EntityType;ENDERMITE:Lnet/minecraft/entity/EntityType;
-
EVOKER
- Mappings:
Namespace Name Mixin selector official x
Laqz;x:Laqz;
intermediary field_6090
Lnet/minecraft/class_1299;field_6090:Lnet/minecraft/class_1299;
named EVOKER
Lnet/minecraft/entity/EntityType;EVOKER:Lnet/minecraft/entity/EntityType;
-
EVOKER_FANGS
- Mappings:
Namespace Name Mixin selector official y
Laqz;y:Laqz;
intermediary field_6060
Lnet/minecraft/class_1299;field_6060:Lnet/minecraft/class_1299;
named EVOKER_FANGS
Lnet/minecraft/entity/EntityType;EVOKER_FANGS:Lnet/minecraft/entity/EntityType;
-
EXPERIENCE_ORB
- Mappings:
Namespace Name Mixin selector official z
Laqz;z:Laqz;
intermediary field_6044
Lnet/minecraft/class_1299;field_6044:Lnet/minecraft/class_1299;
named EXPERIENCE_ORB
Lnet/minecraft/entity/EntityType;EXPERIENCE_ORB:Lnet/minecraft/entity/EntityType;
-
EYE_OF_ENDER
- Mappings:
Namespace Name Mixin selector official A
Laqz;A:Laqz;
intermediary field_6061
Lnet/minecraft/class_1299;field_6061:Lnet/minecraft/class_1299;
named EYE_OF_ENDER
Lnet/minecraft/entity/EntityType;EYE_OF_ENDER:Lnet/minecraft/entity/EntityType;
-
FALLING_BLOCK
- Mappings:
Namespace Name Mixin selector official B
Laqz;B:Laqz;
intermediary field_6089
Lnet/minecraft/class_1299;field_6089:Lnet/minecraft/class_1299;
named FALLING_BLOCK
Lnet/minecraft/entity/EntityType;FALLING_BLOCK:Lnet/minecraft/entity/EntityType;
-
FIREWORK_ROCKET
- Mappings:
Namespace Name Mixin selector official C
Laqz;C:Laqz;
intermediary field_6133
Lnet/minecraft/class_1299;field_6133:Lnet/minecraft/class_1299;
named FIREWORK_ROCKET
Lnet/minecraft/entity/EntityType;FIREWORK_ROCKET:Lnet/minecraft/entity/EntityType;
-
FOX
- Mappings:
Namespace Name Mixin selector official D
Laqz;D:Laqz;
intermediary field_17943
Lnet/minecraft/class_1299;field_17943:Lnet/minecraft/class_1299;
named FOX
Lnet/minecraft/entity/EntityType;FOX:Lnet/minecraft/entity/EntityType;
-
GHAST
- Mappings:
Namespace Name Mixin selector official E
Laqz;E:Laqz;
intermediary field_6107
Lnet/minecraft/class_1299;field_6107:Lnet/minecraft/class_1299;
named GHAST
Lnet/minecraft/entity/EntityType;GHAST:Lnet/minecraft/entity/EntityType;
-
GIANT
- Mappings:
Namespace Name Mixin selector official F
Laqz;F:Laqz;
intermediary field_6095
Lnet/minecraft/class_1299;field_6095:Lnet/minecraft/class_1299;
named GIANT
Lnet/minecraft/entity/EntityType;GIANT:Lnet/minecraft/entity/EntityType;
-
GLOW_ITEM_FRAME
- Mappings:
Namespace Name Mixin selector official G
Laqz;G:Laqz;
intermediary field_28401
Lnet/minecraft/class_1299;field_28401:Lnet/minecraft/class_1299;
named GLOW_ITEM_FRAME
Lnet/minecraft/entity/EntityType;GLOW_ITEM_FRAME:Lnet/minecraft/entity/EntityType;
-
GLOW_SQUID
- Mappings:
Namespace Name Mixin selector official H
Laqz;H:Laqz;
intermediary field_28402
Lnet/minecraft/class_1299;field_28402:Lnet/minecraft/class_1299;
named GLOW_SQUID
Lnet/minecraft/entity/EntityType;GLOW_SQUID:Lnet/minecraft/entity/EntityType;
-
GUARDIAN
- Mappings:
Namespace Name Mixin selector official I
Laqz;I:Laqz;
intermediary field_6118
Lnet/minecraft/class_1299;field_6118:Lnet/minecraft/class_1299;
named GUARDIAN
Lnet/minecraft/entity/EntityType;GUARDIAN:Lnet/minecraft/entity/EntityType;
-
HOGLIN
- Mappings:
Namespace Name Mixin selector official J
Laqz;J:Laqz;
intermediary field_21973
Lnet/minecraft/class_1299;field_21973:Lnet/minecraft/class_1299;
named HOGLIN
Lnet/minecraft/entity/EntityType;HOGLIN:Lnet/minecraft/entity/EntityType;
-
HORSE
- Mappings:
Namespace Name Mixin selector official K
Laqz;K:Laqz;
intermediary field_6139
Lnet/minecraft/class_1299;field_6139:Lnet/minecraft/class_1299;
named HORSE
Lnet/minecraft/entity/EntityType;HORSE:Lnet/minecraft/entity/EntityType;
-
HUSK
- Mappings:
Namespace Name Mixin selector official L
Laqz;L:Laqz;
intermediary field_6071
Lnet/minecraft/class_1299;field_6071:Lnet/minecraft/class_1299;
named HUSK
Lnet/minecraft/entity/EntityType;HUSK:Lnet/minecraft/entity/EntityType;
-
ILLUSIONER
- Mappings:
Namespace Name Mixin selector official M
Laqz;M:Laqz;
intermediary field_6065
Lnet/minecraft/class_1299;field_6065:Lnet/minecraft/class_1299;
named ILLUSIONER
Lnet/minecraft/entity/EntityType;ILLUSIONER:Lnet/minecraft/entity/EntityType;
-
IRON_GOLEM
- Mappings:
Namespace Name Mixin selector official N
Laqz;N:Laqz;
intermediary field_6147
Lnet/minecraft/class_1299;field_6147:Lnet/minecraft/class_1299;
named IRON_GOLEM
Lnet/minecraft/entity/EntityType;IRON_GOLEM:Lnet/minecraft/entity/EntityType;
-
ITEM
- Mappings:
Namespace Name Mixin selector official O
Laqz;O:Laqz;
intermediary field_6052
Lnet/minecraft/class_1299;field_6052:Lnet/minecraft/class_1299;
named ITEM
Lnet/minecraft/entity/EntityType;ITEM:Lnet/minecraft/entity/EntityType;
-
ITEM_FRAME
- Mappings:
Namespace Name Mixin selector official P
Laqz;P:Laqz;
intermediary field_6043
Lnet/minecraft/class_1299;field_6043:Lnet/minecraft/class_1299;
named ITEM_FRAME
Lnet/minecraft/entity/EntityType;ITEM_FRAME:Lnet/minecraft/entity/EntityType;
-
FIREBALL
- Mappings:
Namespace Name Mixin selector official Q
Laqz;Q:Laqz;
intermediary field_6066
Lnet/minecraft/class_1299;field_6066:Lnet/minecraft/class_1299;
named FIREBALL
Lnet/minecraft/entity/EntityType;FIREBALL:Lnet/minecraft/entity/EntityType;
-
LEASH_KNOT
- Mappings:
Namespace Name Mixin selector official R
Laqz;R:Laqz;
intermediary field_6138
Lnet/minecraft/class_1299;field_6138:Lnet/minecraft/class_1299;
named LEASH_KNOT
Lnet/minecraft/entity/EntityType;LEASH_KNOT:Lnet/minecraft/entity/EntityType;
-
LIGHTNING_BOLT
- Mappings:
Namespace Name Mixin selector official S
Laqz;S:Laqz;
intermediary field_6112
Lnet/minecraft/class_1299;field_6112:Lnet/minecraft/class_1299;
named LIGHTNING_BOLT
Lnet/minecraft/entity/EntityType;LIGHTNING_BOLT:Lnet/minecraft/entity/EntityType;
-
LLAMA
- Mappings:
Namespace Name Mixin selector official T
Laqz;T:Laqz;
intermediary field_6074
Lnet/minecraft/class_1299;field_6074:Lnet/minecraft/class_1299;
named LLAMA
Lnet/minecraft/entity/EntityType;LLAMA:Lnet/minecraft/entity/EntityType;
-
LLAMA_SPIT
- Mappings:
Namespace Name Mixin selector official U
Laqz;U:Laqz;
intermediary field_6124
Lnet/minecraft/class_1299;field_6124:Lnet/minecraft/class_1299;
named LLAMA_SPIT
Lnet/minecraft/entity/EntityType;LLAMA_SPIT:Lnet/minecraft/entity/EntityType;
-
MAGMA_CUBE
- Mappings:
Namespace Name Mixin selector official V
Laqz;V:Laqz;
intermediary field_6102
Lnet/minecraft/class_1299;field_6102:Lnet/minecraft/class_1299;
named MAGMA_CUBE
Lnet/minecraft/entity/EntityType;MAGMA_CUBE:Lnet/minecraft/entity/EntityType;
-
MINECART
- Mappings:
Namespace Name Mixin selector official W
Laqz;W:Laqz;
intermediary field_6096
Lnet/minecraft/class_1299;field_6096:Lnet/minecraft/class_1299;
named MINECART
Lnet/minecraft/entity/EntityType;MINECART:Lnet/minecraft/entity/EntityType;
-
CHEST_MINECART
- Mappings:
Namespace Name Mixin selector official X
Laqz;X:Laqz;
intermediary field_6126
Lnet/minecraft/class_1299;field_6126:Lnet/minecraft/class_1299;
named CHEST_MINECART
Lnet/minecraft/entity/EntityType;CHEST_MINECART:Lnet/minecraft/entity/EntityType;
-
COMMAND_BLOCK_MINECART
- Mappings:
Namespace Name Mixin selector official Y
Laqz;Y:Laqz;
intermediary field_6136
Lnet/minecraft/class_1299;field_6136:Lnet/minecraft/class_1299;
named COMMAND_BLOCK_MINECART
Lnet/minecraft/entity/EntityType;COMMAND_BLOCK_MINECART:Lnet/minecraft/entity/EntityType;
-
FURNACE_MINECART
- Mappings:
Namespace Name Mixin selector official Z
Laqz;Z:Laqz;
intermediary field_6080
Lnet/minecraft/class_1299;field_6080:Lnet/minecraft/class_1299;
named FURNACE_MINECART
Lnet/minecraft/entity/EntityType;FURNACE_MINECART:Lnet/minecraft/entity/EntityType;
-
HOPPER_MINECART
- Mappings:
Namespace Name Mixin selector official aa
Laqz;aa:Laqz;
intermediary field_6058
Lnet/minecraft/class_1299;field_6058:Lnet/minecraft/class_1299;
named HOPPER_MINECART
Lnet/minecraft/entity/EntityType;HOPPER_MINECART:Lnet/minecraft/entity/EntityType;
-
SPAWNER_MINECART
- Mappings:
Namespace Name Mixin selector official ab
Laqz;ab:Laqz;
intermediary field_6142
Lnet/minecraft/class_1299;field_6142:Lnet/minecraft/class_1299;
named SPAWNER_MINECART
Lnet/minecraft/entity/EntityType;SPAWNER_MINECART:Lnet/minecraft/entity/EntityType;
-
TNT_MINECART
- Mappings:
Namespace Name Mixin selector official ac
Laqz;ac:Laqz;
intermediary field_6053
Lnet/minecraft/class_1299;field_6053:Lnet/minecraft/class_1299;
named TNT_MINECART
Lnet/minecraft/entity/EntityType;TNT_MINECART:Lnet/minecraft/entity/EntityType;
-
MULE
- Mappings:
Namespace Name Mixin selector official ad
Laqz;ad:Laqz;
intermediary field_6057
Lnet/minecraft/class_1299;field_6057:Lnet/minecraft/class_1299;
named MULE
Lnet/minecraft/entity/EntityType;MULE:Lnet/minecraft/entity/EntityType;
-
MOOSHROOM
- Mappings:
Namespace Name Mixin selector official ae
Laqz;ae:Laqz;
intermediary field_6143
Lnet/minecraft/class_1299;field_6143:Lnet/minecraft/class_1299;
named MOOSHROOM
Lnet/minecraft/entity/EntityType;MOOSHROOM:Lnet/minecraft/entity/EntityType;
-
OCELOT
- Mappings:
Namespace Name Mixin selector official af
Laqz;af:Laqz;
intermediary field_6081
Lnet/minecraft/class_1299;field_6081:Lnet/minecraft/class_1299;
named OCELOT
Lnet/minecraft/entity/EntityType;OCELOT:Lnet/minecraft/entity/EntityType;
-
PAINTING
- Mappings:
Namespace Name Mixin selector official ag
Laqz;ag:Laqz;
intermediary field_6120
Lnet/minecraft/class_1299;field_6120:Lnet/minecraft/class_1299;
named PAINTING
Lnet/minecraft/entity/EntityType;PAINTING:Lnet/minecraft/entity/EntityType;
-
PANDA
- Mappings:
Namespace Name Mixin selector official ah
Laqz;ah:Laqz;
intermediary field_6146
Lnet/minecraft/class_1299;field_6146:Lnet/minecraft/class_1299;
named PANDA
Lnet/minecraft/entity/EntityType;PANDA:Lnet/minecraft/entity/EntityType;
-
PARROT
- Mappings:
Namespace Name Mixin selector official ai
Laqz;ai:Laqz;
intermediary field_6104
Lnet/minecraft/class_1299;field_6104:Lnet/minecraft/class_1299;
named PARROT
Lnet/minecraft/entity/EntityType;PARROT:Lnet/minecraft/entity/EntityType;
-
PHANTOM
- Mappings:
Namespace Name Mixin selector official aj
Laqz;aj:Laqz;
intermediary field_6078
Lnet/minecraft/class_1299;field_6078:Lnet/minecraft/class_1299;
named PHANTOM
Lnet/minecraft/entity/EntityType;PHANTOM:Lnet/minecraft/entity/EntityType;
-
PIG
- Mappings:
Namespace Name Mixin selector official ak
Laqz;ak:Laqz;
intermediary field_6093
Lnet/minecraft/class_1299;field_6093:Lnet/minecraft/class_1299;
named PIG
Lnet/minecraft/entity/EntityType;PIG:Lnet/minecraft/entity/EntityType;
-
PIGLIN
- Mappings:
Namespace Name Mixin selector official al
Laqz;al:Laqz;
intermediary field_22281
Lnet/minecraft/class_1299;field_22281:Lnet/minecraft/class_1299;
named PIGLIN
Lnet/minecraft/entity/EntityType;PIGLIN:Lnet/minecraft/entity/EntityType;
-
PIGLIN_BRUTE
- Mappings:
Namespace Name Mixin selector official am
Laqz;am:Laqz;
intermediary field_25751
Lnet/minecraft/class_1299;field_25751:Lnet/minecraft/class_1299;
named PIGLIN_BRUTE
Lnet/minecraft/entity/EntityType;PIGLIN_BRUTE:Lnet/minecraft/entity/EntityType;
-
PILLAGER
- Mappings:
Namespace Name Mixin selector official an
Laqz;an:Laqz;
intermediary field_6105
Lnet/minecraft/class_1299;field_6105:Lnet/minecraft/class_1299;
named PILLAGER
Lnet/minecraft/entity/EntityType;PILLAGER:Lnet/minecraft/entity/EntityType;
-
POLAR_BEAR
- Mappings:
Namespace Name Mixin selector official ao
Laqz;ao:Laqz;
intermediary field_6042
Lnet/minecraft/class_1299;field_6042:Lnet/minecraft/class_1299;
named POLAR_BEAR
Lnet/minecraft/entity/EntityType;POLAR_BEAR:Lnet/minecraft/entity/EntityType;
-
TNT
- Mappings:
Namespace Name Mixin selector official ap
Laqz;ap:Laqz;
intermediary field_6063
Lnet/minecraft/class_1299;field_6063:Lnet/minecraft/class_1299;
named TNT
Lnet/minecraft/entity/EntityType;TNT:Lnet/minecraft/entity/EntityType;
-
PUFFERFISH
- Mappings:
Namespace Name Mixin selector official aq
Laqz;aq:Laqz;
intermediary field_6062
Lnet/minecraft/class_1299;field_6062:Lnet/minecraft/class_1299;
named PUFFERFISH
Lnet/minecraft/entity/EntityType;PUFFERFISH:Lnet/minecraft/entity/EntityType;
-
RABBIT
- Mappings:
Namespace Name Mixin selector official ar
Laqz;ar:Laqz;
intermediary field_6140
Lnet/minecraft/class_1299;field_6140:Lnet/minecraft/class_1299;
named RABBIT
Lnet/minecraft/entity/EntityType;RABBIT:Lnet/minecraft/entity/EntityType;
-
RAVAGER
- Mappings:
Namespace Name Mixin selector official as
Laqz;as:Laqz;
intermediary field_6134
Lnet/minecraft/class_1299;field_6134:Lnet/minecraft/class_1299;
named RAVAGER
Lnet/minecraft/entity/EntityType;RAVAGER:Lnet/minecraft/entity/EntityType;
-
SALMON
- Mappings:
Namespace Name Mixin selector official at
Laqz;at:Laqz;
intermediary field_6073
Lnet/minecraft/class_1299;field_6073:Lnet/minecraft/class_1299;
named SALMON
Lnet/minecraft/entity/EntityType;SALMON:Lnet/minecraft/entity/EntityType;
-
SHEEP
- Mappings:
Namespace Name Mixin selector official au
Laqz;au:Laqz;
intermediary field_6115
Lnet/minecraft/class_1299;field_6115:Lnet/minecraft/class_1299;
named SHEEP
Lnet/minecraft/entity/EntityType;SHEEP:Lnet/minecraft/entity/EntityType;
-
SHULKER
- Mappings:
Namespace Name Mixin selector official av
Laqz;av:Laqz;
intermediary field_6109
Lnet/minecraft/class_1299;field_6109:Lnet/minecraft/class_1299;
named SHULKER
Lnet/minecraft/entity/EntityType;SHULKER:Lnet/minecraft/entity/EntityType;
-
SHULKER_BULLET
- Mappings:
Namespace Name Mixin selector official aw
Laqz;aw:Laqz;
intermediary field_6100
Lnet/minecraft/class_1299;field_6100:Lnet/minecraft/class_1299;
named SHULKER_BULLET
Lnet/minecraft/entity/EntityType;SHULKER_BULLET:Lnet/minecraft/entity/EntityType;
-
SILVERFISH
- Mappings:
Namespace Name Mixin selector official ax
Laqz;ax:Laqz;
intermediary field_6125
Lnet/minecraft/class_1299;field_6125:Lnet/minecraft/class_1299;
named SILVERFISH
Lnet/minecraft/entity/EntityType;SILVERFISH:Lnet/minecraft/entity/EntityType;
-
SKELETON
- Mappings:
Namespace Name Mixin selector official ay
Laqz;ay:Laqz;
intermediary field_6137
Lnet/minecraft/class_1299;field_6137:Lnet/minecraft/class_1299;
named SKELETON
Lnet/minecraft/entity/EntityType;SKELETON:Lnet/minecraft/entity/EntityType;
-
SKELETON_HORSE
- Mappings:
Namespace Name Mixin selector official az
Laqz;az:Laqz;
intermediary field_6075
Lnet/minecraft/class_1299;field_6075:Lnet/minecraft/class_1299;
named SKELETON_HORSE
Lnet/minecraft/entity/EntityType;SKELETON_HORSE:Lnet/minecraft/entity/EntityType;
-
SLIME
- Mappings:
Namespace Name Mixin selector official aA
Laqz;aA:Laqz;
intermediary field_6069
Lnet/minecraft/class_1299;field_6069:Lnet/minecraft/class_1299;
named SLIME
Lnet/minecraft/entity/EntityType;SLIME:Lnet/minecraft/entity/EntityType;
-
SMALL_FIREBALL
- Mappings:
Namespace Name Mixin selector official aB
Laqz;aB:Laqz;
intermediary field_6049
Lnet/minecraft/class_1299;field_6049:Lnet/minecraft/class_1299;
named SMALL_FIREBALL
Lnet/minecraft/entity/EntityType;SMALL_FIREBALL:Lnet/minecraft/entity/EntityType;
-
SNOW_GOLEM
- Mappings:
Namespace Name Mixin selector official aC
Laqz;aC:Laqz;
intermediary field_6047
Lnet/minecraft/class_1299;field_6047:Lnet/minecraft/class_1299;
named SNOW_GOLEM
Lnet/minecraft/entity/EntityType;SNOW_GOLEM:Lnet/minecraft/entity/EntityType;
-
SNOWBALL
- Mappings:
Namespace Name Mixin selector official aD
Laqz;aD:Laqz;
intermediary field_6068
Lnet/minecraft/class_1299;field_6068:Lnet/minecraft/class_1299;
named SNOWBALL
Lnet/minecraft/entity/EntityType;SNOWBALL:Lnet/minecraft/entity/EntityType;
-
SPECTRAL_ARROW
- Mappings:
Namespace Name Mixin selector official aE
Laqz;aE:Laqz;
intermediary field_6135
Lnet/minecraft/class_1299;field_6135:Lnet/minecraft/class_1299;
named SPECTRAL_ARROW
Lnet/minecraft/entity/EntityType;SPECTRAL_ARROW:Lnet/minecraft/entity/EntityType;
-
SPIDER
- Mappings:
Namespace Name Mixin selector official aF
Laqz;aF:Laqz;
intermediary field_6079
Lnet/minecraft/class_1299;field_6079:Lnet/minecraft/class_1299;
named SPIDER
Lnet/minecraft/entity/EntityType;SPIDER:Lnet/minecraft/entity/EntityType;
-
SQUID
- Mappings:
Namespace Name Mixin selector official aG
Laqz;aG:Laqz;
intermediary field_6114
Lnet/minecraft/class_1299;field_6114:Lnet/minecraft/class_1299;
named SQUID
Lnet/minecraft/entity/EntityType;SQUID:Lnet/minecraft/entity/EntityType;
-
STRAY
- Mappings:
Namespace Name Mixin selector official aH
Laqz;aH:Laqz;
intermediary field_6098
Lnet/minecraft/class_1299;field_6098:Lnet/minecraft/class_1299;
named STRAY
Lnet/minecraft/entity/EntityType;STRAY:Lnet/minecraft/entity/EntityType;
-
STRIDER
- Mappings:
Namespace Name Mixin selector official aI
Laqz;aI:Laqz;
intermediary field_23214
Lnet/minecraft/class_1299;field_23214:Lnet/minecraft/class_1299;
named STRIDER
Lnet/minecraft/entity/EntityType;STRIDER:Lnet/minecraft/entity/EntityType;
-
EGG
- Mappings:
Namespace Name Mixin selector official aJ
Laqz;aJ:Laqz;
intermediary field_6144
Lnet/minecraft/class_1299;field_6144:Lnet/minecraft/class_1299;
named EGG
Lnet/minecraft/entity/EntityType;EGG:Lnet/minecraft/entity/EntityType;
-
ENDER_PEARL
- Mappings:
Namespace Name Mixin selector official aK
Laqz;aK:Laqz;
intermediary field_6082
Lnet/minecraft/class_1299;field_6082:Lnet/minecraft/class_1299;
named ENDER_PEARL
Lnet/minecraft/entity/EntityType;ENDER_PEARL:Lnet/minecraft/entity/EntityType;
-
EXPERIENCE_BOTTLE
- Mappings:
Namespace Name Mixin selector official aL
Laqz;aL:Laqz;
intermediary field_6064
Lnet/minecraft/class_1299;field_6064:Lnet/minecraft/class_1299;
named EXPERIENCE_BOTTLE
Lnet/minecraft/entity/EntityType;EXPERIENCE_BOTTLE:Lnet/minecraft/entity/EntityType;
-
POTION
- Mappings:
Namespace Name Mixin selector official aM
Laqz;aM:Laqz;
intermediary field_6045
Lnet/minecraft/class_1299;field_6045:Lnet/minecraft/class_1299;
named POTION
Lnet/minecraft/entity/EntityType;POTION:Lnet/minecraft/entity/EntityType;
-
TRIDENT
- Mappings:
Namespace Name Mixin selector official aN
Laqz;aN:Laqz;
intermediary field_6127
Lnet/minecraft/class_1299;field_6127:Lnet/minecraft/class_1299;
named TRIDENT
Lnet/minecraft/entity/EntityType;TRIDENT:Lnet/minecraft/entity/EntityType;
-
TRADER_LLAMA
- Mappings:
Namespace Name Mixin selector official aO
Laqz;aO:Laqz;
intermediary field_17714
Lnet/minecraft/class_1299;field_17714:Lnet/minecraft/class_1299;
named TRADER_LLAMA
Lnet/minecraft/entity/EntityType;TRADER_LLAMA:Lnet/minecraft/entity/EntityType;
-
TROPICAL_FISH
- Mappings:
Namespace Name Mixin selector official aP
Laqz;aP:Laqz;
intermediary field_6111
Lnet/minecraft/class_1299;field_6111:Lnet/minecraft/class_1299;
named TROPICAL_FISH
Lnet/minecraft/entity/EntityType;TROPICAL_FISH:Lnet/minecraft/entity/EntityType;
-
TURTLE
- Mappings:
Namespace Name Mixin selector official aQ
Laqz;aQ:Laqz;
intermediary field_6113
Lnet/minecraft/class_1299;field_6113:Lnet/minecraft/class_1299;
named TURTLE
Lnet/minecraft/entity/EntityType;TURTLE:Lnet/minecraft/entity/EntityType;
-
VEX
- Mappings:
Namespace Name Mixin selector official aR
Laqz;aR:Laqz;
intermediary field_6059
Lnet/minecraft/class_1299;field_6059:Lnet/minecraft/class_1299;
named VEX
Lnet/minecraft/entity/EntityType;VEX:Lnet/minecraft/entity/EntityType;
-
VILLAGER
- Mappings:
Namespace Name Mixin selector official aS
Laqz;aS:Laqz;
intermediary field_6077
Lnet/minecraft/class_1299;field_6077:Lnet/minecraft/class_1299;
named VILLAGER
Lnet/minecraft/entity/EntityType;VILLAGER:Lnet/minecraft/entity/EntityType;
-
VINDICATOR
- Mappings:
Namespace Name Mixin selector official aT
Laqz;aT:Laqz;
intermediary field_6117
Lnet/minecraft/class_1299;field_6117:Lnet/minecraft/class_1299;
named VINDICATOR
Lnet/minecraft/entity/EntityType;VINDICATOR:Lnet/minecraft/entity/EntityType;
-
WANDERING_TRADER
- Mappings:
Namespace Name Mixin selector official aU
Laqz;aU:Laqz;
intermediary field_17713
Lnet/minecraft/class_1299;field_17713:Lnet/minecraft/class_1299;
named WANDERING_TRADER
Lnet/minecraft/entity/EntityType;WANDERING_TRADER:Lnet/minecraft/entity/EntityType;
-
WITCH
- Mappings:
Namespace Name Mixin selector official aV
Laqz;aV:Laqz;
intermediary field_6145
Lnet/minecraft/class_1299;field_6145:Lnet/minecraft/class_1299;
named WITCH
Lnet/minecraft/entity/EntityType;WITCH:Lnet/minecraft/entity/EntityType;
-
WITHER
- Mappings:
Namespace Name Mixin selector official aW
Laqz;aW:Laqz;
intermediary field_6119
Lnet/minecraft/class_1299;field_6119:Lnet/minecraft/class_1299;
named WITHER
Lnet/minecraft/entity/EntityType;WITHER:Lnet/minecraft/entity/EntityType;
-
WITHER_SKELETON
- Mappings:
Namespace Name Mixin selector official aX
Laqz;aX:Laqz;
intermediary field_6076
Lnet/minecraft/class_1299;field_6076:Lnet/minecraft/class_1299;
named WITHER_SKELETON
Lnet/minecraft/entity/EntityType;WITHER_SKELETON:Lnet/minecraft/entity/EntityType;
-
WITHER_SKULL
- Mappings:
Namespace Name Mixin selector official aY
Laqz;aY:Laqz;
intermediary field_6130
Lnet/minecraft/class_1299;field_6130:Lnet/minecraft/class_1299;
named WITHER_SKULL
Lnet/minecraft/entity/EntityType;WITHER_SKULL:Lnet/minecraft/entity/EntityType;
-
WOLF
- Mappings:
Namespace Name Mixin selector official aZ
Laqz;aZ:Laqz;
intermediary field_6055
Lnet/minecraft/class_1299;field_6055:Lnet/minecraft/class_1299;
named WOLF
Lnet/minecraft/entity/EntityType;WOLF:Lnet/minecraft/entity/EntityType;
-
ZOGLIN
- Mappings:
Namespace Name Mixin selector official ba
Laqz;ba:Laqz;
intermediary field_23696
Lnet/minecraft/class_1299;field_23696:Lnet/minecraft/class_1299;
named ZOGLIN
Lnet/minecraft/entity/EntityType;ZOGLIN:Lnet/minecraft/entity/EntityType;
-
ZOMBIE
- Mappings:
Namespace Name Mixin selector official bb
Laqz;bb:Laqz;
intermediary field_6051
Lnet/minecraft/class_1299;field_6051:Lnet/minecraft/class_1299;
named ZOMBIE
Lnet/minecraft/entity/EntityType;ZOMBIE:Lnet/minecraft/entity/EntityType;
-
ZOMBIE_HORSE
- Mappings:
Namespace Name Mixin selector official bc
Laqz;bc:Laqz;
intermediary field_6048
Lnet/minecraft/class_1299;field_6048:Lnet/minecraft/class_1299;
named ZOMBIE_HORSE
Lnet/minecraft/entity/EntityType;ZOMBIE_HORSE:Lnet/minecraft/entity/EntityType;
-
ZOMBIE_VILLAGER
- Mappings:
Namespace Name Mixin selector official bd
Laqz;bd:Laqz;
intermediary field_6054
Lnet/minecraft/class_1299;field_6054:Lnet/minecraft/class_1299;
named ZOMBIE_VILLAGER
Lnet/minecraft/entity/EntityType;ZOMBIE_VILLAGER:Lnet/minecraft/entity/EntityType;
-
ZOMBIFIED_PIGLIN
- Mappings:
Namespace Name Mixin selector official be
Laqz;be:Laqz;
intermediary field_6050
Lnet/minecraft/class_1299;field_6050:Lnet/minecraft/class_1299;
named ZOMBIFIED_PIGLIN
Lnet/minecraft/entity/EntityType;ZOMBIFIED_PIGLIN:Lnet/minecraft/entity/EntityType;
-
PLAYER
- Mappings:
Namespace Name Mixin selector official bf
Laqz;bf:Laqz;
intermediary field_6097
Lnet/minecraft/class_1299;field_6097:Lnet/minecraft/class_1299;
named PLAYER
Lnet/minecraft/entity/EntityType;PLAYER:Lnet/minecraft/entity/EntityType;
-
FISHING_BOBBER
- Mappings:
Namespace Name Mixin selector official bg
Laqz;bg:Laqz;
intermediary field_6103
Lnet/minecraft/class_1299;field_6103:Lnet/minecraft/class_1299;
named FISHING_BOBBER
Lnet/minecraft/entity/EntityType;FISHING_BOBBER:Lnet/minecraft/entity/EntityType;
-
factory
- Mappings:
Namespace Name Mixin selector official bi
Laqz;bi:Laqz$b;
intermediary field_6101
Lnet/minecraft/class_1299;field_6101:Lnet/minecraft/class_1299$class_4049;
named factory
Lnet/minecraft/entity/EntityType;factory:Lnet/minecraft/entity/EntityType$EntityFactory;
-
spawnGroup
- Mappings:
Namespace Name Mixin selector official bj
Laqz;bj:Lark;
intermediary field_6094
Lnet/minecraft/class_1299;field_6094:Lnet/minecraft/class_1311;
named spawnGroup
Lnet/minecraft/entity/EntityType;spawnGroup:Lnet/minecraft/entity/SpawnGroup;
-
canSpawnInside
- Mappings:
Namespace Name Mixin selector official bk
Laqz;bk:Lcom/google/common/collect/ImmutableSet;
intermediary field_25355
Lnet/minecraft/class_1299;field_25355:Lcom/google/common/collect/ImmutableSet;
named canSpawnInside
Lnet/minecraft/entity/EntityType;canSpawnInside:Lcom/google/common/collect/ImmutableSet;
-
saveable
private final boolean saveable- Mappings:
Namespace Name Mixin selector official bl
Laqz;bl:Z
intermediary field_6056
Lnet/minecraft/class_1299;field_6056:Z
named saveable
Lnet/minecraft/entity/EntityType;saveable:Z
-
summonable
private final boolean summonable- Mappings:
Namespace Name Mixin selector official bm
Laqz;bm:Z
intermediary field_6072
Lnet/minecraft/class_1299;field_6072:Z
named summonable
Lnet/minecraft/entity/EntityType;summonable:Z
-
fireImmune
private final boolean fireImmune- Mappings:
Namespace Name Mixin selector official bn
Laqz;bn:Z
intermediary field_18981
Lnet/minecraft/class_1299;field_18981:Z
named fireImmune
Lnet/minecraft/entity/EntityType;fireImmune:Z
-
spawnableFarFromPlayer
private final boolean spawnableFarFromPlayer- Mappings:
Namespace Name Mixin selector official bo
Laqz;bo:Z
intermediary field_19423
Lnet/minecraft/class_1299;field_19423:Z
named spawnableFarFromPlayer
Lnet/minecraft/entity/EntityType;spawnableFarFromPlayer:Z
-
maxTrackDistance
private final int maxTrackDistance- Mappings:
Namespace Name Mixin selector official bp
Laqz;bp:I
intermediary field_24085
Lnet/minecraft/class_1299;field_24085:I
named maxTrackDistance
Lnet/minecraft/entity/EntityType;maxTrackDistance:I
-
trackTickInterval
private final int trackTickInterval- Mappings:
Namespace Name Mixin selector official bq
Laqz;bq:I
intermediary field_24086
Lnet/minecraft/class_1299;field_24086:I
named trackTickInterval
Lnet/minecraft/entity/EntityType;trackTickInterval:I
-
translationKey
- Mappings:
Namespace Name Mixin selector official br
Laqz;br:Ljava/lang/String;
intermediary field_6106
Lnet/minecraft/class_1299;field_6106:Ljava/lang/String;
named translationKey
Lnet/minecraft/entity/EntityType;translationKey:Ljava/lang/String;
-
name
- Mappings:
Namespace Name Mixin selector official bs
Laqz;bs:Loi;
intermediary field_6092
Lnet/minecraft/class_1299;field_6092:Lnet/minecraft/class_2561;
named name
Lnet/minecraft/entity/EntityType;name:Lnet/minecraft/text/Text;
-
lootTableId
- Mappings:
Namespace Name Mixin selector official bt
Laqz;bt:Lwb;
intermediary field_16526
Lnet/minecraft/class_1299;field_16526:Lnet/minecraft/class_2960;
named lootTableId
Lnet/minecraft/entity/EntityType;lootTableId:Lnet/minecraft/util/Identifier;
-
dimensions
- Mappings:
Namespace Name Mixin selector official bu
Laqz;bu:Laqw;
intermediary field_18070
Lnet/minecraft/class_1299;field_18070:Lnet/minecraft/class_4048;
named dimensions
Lnet/minecraft/entity/EntityType;dimensions:Lnet/minecraft/entity/EntityDimensions;
-
-
Constructor Details
-
EntityType
public EntityType(EntityType.EntityFactory<T> factory, SpawnGroup spawnGroup, boolean saveable, boolean summonable, boolean fireImmune, boolean spawnableFarFromPlayer, ImmutableSet<Block> canSpawnInside, EntityDimensions dimensions, int maxTrackDistance, int trackTickInterval)- Mappings:
Namespace Name Mixin selector official <init>
Laqz;<init>(Laqz$b;Lark;ZZZZLcom/google/common/collect/ImmutableSet;Laqw;II)V
intermediary <init>
Lnet/minecraft/class_1299;<init>(Lnet/minecraft/class_1299$class_4049;Lnet/minecraft/class_1311;ZZZZLcom/google/common/collect/ImmutableSet;Lnet/minecraft/class_4048;II)V
named <init>
Lnet/minecraft/entity/EntityType;<init>(Lnet/minecraft/entity/EntityType$EntityFactory;Lnet/minecraft/entity/SpawnGroup;ZZZZLcom/google/common/collect/ImmutableSet;Lnet/minecraft/entity/EntityDimensions;II)V
-
-
Method Details
-
register
- Mappings:
Namespace Name Mixin selector official a
Laqz;a(Ljava/lang/String;Laqz$a;)Laqz;
intermediary method_5895
Lnet/minecraft/class_1299;method_5895(Ljava/lang/String;Lnet/minecraft/class_1299$class_1300;)Lnet/minecraft/class_1299;
named register
Lnet/minecraft/entity/EntityType;register(Ljava/lang/String;Lnet/minecraft/entity/EntityType$Builder;)Lnet/minecraft/entity/EntityType;
-
getId
- Mappings:
Namespace Name Mixin selector official a
Laqz;a(Laqz;)Lwb;
intermediary method_5890
Lnet/minecraft/class_1299;method_5890(Lnet/minecraft/class_1299;)Lnet/minecraft/class_2960;
named getId
Lnet/minecraft/entity/EntityType;getId(Lnet/minecraft/entity/EntityType;)Lnet/minecraft/util/Identifier;
-
get
- Mappings:
Namespace Name Mixin selector official a
Laqz;a(Ljava/lang/String;)Ljava/util/Optional;
intermediary method_5898
Lnet/minecraft/class_1299;method_5898(Ljava/lang/String;)Ljava/util/Optional;
named get
Lnet/minecraft/entity/EntityType;get(Ljava/lang/String;)Ljava/util/Optional;
-
spawnFromItemStack
@Nullable public Entity spawnFromItemStack(ServerWorld world, @Nullable ItemStack stack, @Nullable PlayerEntity player, BlockPos pos, SpawnReason spawnReason, boolean alignPosition, boolean invertY)- Mappings:
Namespace Name Mixin selector official a
Laqz;a(Laav;Lbnv;Lbhl;Lfx;Larl;ZZ)Laqv;
intermediary method_5894
Lnet/minecraft/class_1299;method_5894(Lnet/minecraft/class_3218;Lnet/minecraft/class_1799;Lnet/minecraft/class_1657;Lnet/minecraft/class_2338;Lnet/minecraft/class_3730;ZZ)Lnet/minecraft/class_1297;
named spawnFromItemStack
Lnet/minecraft/entity/EntityType;spawnFromItemStack(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/item/ItemStack;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/SpawnReason;ZZ)Lnet/minecraft/entity/Entity;
-
spawn
@Nullable public T spawn(ServerWorld world, @Nullable CompoundTag itemTag, @Nullable Text name, @Nullable PlayerEntity player, BlockPos pos, SpawnReason spawnReason, boolean alignPosition, boolean invertY)- Mappings:
Namespace Name Mixin selector official a
Laqz;a(Laav;Lmq;Loi;Lbhl;Lfx;Larl;ZZ)Laqv;
intermediary method_5899
Lnet/minecraft/class_1299;method_5899(Lnet/minecraft/class_3218;Lnet/minecraft/class_2487;Lnet/minecraft/class_2561;Lnet/minecraft/class_1657;Lnet/minecraft/class_2338;Lnet/minecraft/class_3730;ZZ)Lnet/minecraft/class_1297;
named spawn
Lnet/minecraft/entity/EntityType;spawn(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/nbt/CompoundTag;Lnet/minecraft/text/Text;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/SpawnReason;ZZ)Lnet/minecraft/entity/Entity;
-
create
@Nullable public T create(ServerWorld world, @Nullable CompoundTag itemTag, @Nullable Text name, @Nullable PlayerEntity player, BlockPos pos, SpawnReason spawnReason, boolean alignPosition, boolean invertY)- Mappings:
Namespace Name Mixin selector official b
Laqz;b(Laav;Lmq;Loi;Lbhl;Lfx;Larl;ZZ)Laqv;
intermediary method_5888
Lnet/minecraft/class_1299;method_5888(Lnet/minecraft/class_3218;Lnet/minecraft/class_2487;Lnet/minecraft/class_2561;Lnet/minecraft/class_1657;Lnet/minecraft/class_2338;Lnet/minecraft/class_3730;ZZ)Lnet/minecraft/class_1297;
named create
Lnet/minecraft/entity/EntityType;create(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/nbt/CompoundTag;Lnet/minecraft/text/Text;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/SpawnReason;ZZ)Lnet/minecraft/entity/Entity;
-
getOriginY
protected static double getOriginY(WorldView world, BlockPos pos, boolean invertY, Box boundingBox)- Mappings:
Namespace Name Mixin selector official a
Laqz;a(Lbty;Lfx;ZLdip;)D
intermediary method_5884
Lnet/minecraft/class_1299;method_5884(Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;ZLnet/minecraft/class_238;)D
named getOriginY
Lnet/minecraft/entity/EntityType;getOriginY(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;ZLnet/minecraft/util/math/Box;)D
-
loadFromEntityTag
public static void loadFromEntityTag(World world, @Nullable PlayerEntity player, @Nullable Entity entity, @Nullable CompoundTag itemTag)- Mappings:
Namespace Name Mixin selector official a
Laqz;a(Lbtv;Lbhl;Laqv;Lmq;)V
intermediary method_5881
Lnet/minecraft/class_1299;method_5881(Lnet/minecraft/class_1937;Lnet/minecraft/class_1657;Lnet/minecraft/class_1297;Lnet/minecraft/class_2487;)V
named loadFromEntityTag
Lnet/minecraft/entity/EntityType;loadFromEntityTag(Lnet/minecraft/world/World;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/entity/Entity;Lnet/minecraft/nbt/CompoundTag;)V
-
isSaveable
public boolean isSaveable()- Mappings:
Namespace Name Mixin selector official b
Laqz;b()Z
intermediary method_5893
Lnet/minecraft/class_1299;method_5893()Z
named isSaveable
Lnet/minecraft/entity/EntityType;isSaveable()Z
-
isSummonable
public boolean isSummonable()- Mappings:
Namespace Name Mixin selector official c
Laqz;c()Z
intermediary method_5896
Lnet/minecraft/class_1299;method_5896()Z
named isSummonable
Lnet/minecraft/entity/EntityType;isSummonable()Z
-
isFireImmune
public boolean isFireImmune()- Mappings:
Namespace Name Mixin selector official d
Laqz;d()Z
intermediary method_19946
Lnet/minecraft/class_1299;method_19946()Z
named isFireImmune
Lnet/minecraft/entity/EntityType;isFireImmune()Z
-
isSpawnableFarFromPlayer
public boolean isSpawnableFarFromPlayer()- Mappings:
Namespace Name Mixin selector official e
Laqz;e()Z
intermediary method_20814
Lnet/minecraft/class_1299;method_20814()Z
named isSpawnableFarFromPlayer
Lnet/minecraft/entity/EntityType;isSpawnableFarFromPlayer()Z
-
getSpawnGroup
- Mappings:
Namespace Name Mixin selector official f
Laqz;f()Lark;
intermediary method_5891
Lnet/minecraft/class_1299;method_5891()Lnet/minecraft/class_1311;
named getSpawnGroup
Lnet/minecraft/entity/EntityType;getSpawnGroup()Lnet/minecraft/entity/SpawnGroup;
-
getTranslationKey
- Mappings:
Namespace Name Mixin selector official g
Laqz;g()Ljava/lang/String;
intermediary method_5882
Lnet/minecraft/class_1299;method_5882()Ljava/lang/String;
named getTranslationKey
Lnet/minecraft/entity/EntityType;getTranslationKey()Ljava/lang/String;
-
getName
- Mappings:
Namespace Name Mixin selector official h
Laqz;h()Loi;
intermediary method_5897
Lnet/minecraft/class_1299;method_5897()Lnet/minecraft/class_2561;
named getName
Lnet/minecraft/entity/EntityType;getName()Lnet/minecraft/text/Text;
-
toString
-
getLootTableId
- Mappings:
Namespace Name Mixin selector official j
Laqz;j()Lwb;
intermediary method_16351
Lnet/minecraft/class_1299;method_16351()Lnet/minecraft/class_2960;
named getLootTableId
Lnet/minecraft/entity/EntityType;getLootTableId()Lnet/minecraft/util/Identifier;
-
getWidth
public float getWidth()- Mappings:
Namespace Name Mixin selector official k
Laqz;k()F
intermediary method_17685
Lnet/minecraft/class_1299;method_17685()F
named getWidth
Lnet/minecraft/entity/EntityType;getWidth()F
-
getHeight
public float getHeight()- Mappings:
Namespace Name Mixin selector official l
Laqz;l()F
intermediary method_17686
Lnet/minecraft/class_1299;method_17686()F
named getHeight
Lnet/minecraft/entity/EntityType;getHeight()F
-
create
- Mappings:
Namespace Name Mixin selector official a
Laqz;a(Lbtv;)Laqv;
intermediary method_5883
Lnet/minecraft/class_1299;method_5883(Lnet/minecraft/class_1937;)Lnet/minecraft/class_1297;
named create
Lnet/minecraft/entity/EntityType;create(Lnet/minecraft/world/World;)Lnet/minecraft/entity/Entity;
-
createInstanceFromId
- Mappings:
Namespace Name Mixin selector official a
Laqz;a(ILbtv;)Laqv;
intermediary method_5889
Lnet/minecraft/class_1299;method_5889(ILnet/minecraft/class_1937;)Lnet/minecraft/class_1297;
named createInstanceFromId
Lnet/minecraft/entity/EntityType;createInstanceFromId(ILnet/minecraft/world/World;)Lnet/minecraft/entity/Entity;
-
getEntityFromTag
- Mappings:
Namespace Name Mixin selector official a
Laqz;a(Lmq;Lbtv;)Ljava/util/Optional;
intermediary method_5892
Lnet/minecraft/class_1299;method_5892(Lnet/minecraft/class_2487;Lnet/minecraft/class_1937;)Ljava/util/Optional;
named getEntityFromTag
Lnet/minecraft/entity/EntityType;getEntityFromTag(Lnet/minecraft/nbt/CompoundTag;Lnet/minecraft/world/World;)Ljava/util/Optional;
-
newInstance
@Environment(CLIENT) @Nullable private static Entity newInstance(World world, @Nullable EntityType<?> type)- Mappings:
Namespace Name Mixin selector official a
Laqz;a(Lbtv;Laqz;)Laqv;
intermediary method_5886
Lnet/minecraft/class_1299;method_5886(Lnet/minecraft/class_1937;Lnet/minecraft/class_1299;)Lnet/minecraft/class_1297;
named newInstance
Lnet/minecraft/entity/EntityType;newInstance(Lnet/minecraft/world/World;Lnet/minecraft/entity/EntityType;)Lnet/minecraft/entity/Entity;
-
createSimpleBoundingBox
- Mappings:
Namespace Name Mixin selector official a
Laqz;a(DDD)Ldip;
intermediary method_17683
Lnet/minecraft/class_1299;method_17683(DDD)Lnet/minecraft/class_238;
named createSimpleBoundingBox
Lnet/minecraft/entity/EntityType;createSimpleBoundingBox(DDD)Lnet/minecraft/util/math/Box;
-
isInvalidSpawn
Returns whether the EntityType can spawn inside the given block.By default, non-fire-immune mobs can't spawn in/on blocks dealing fire damage. Any mob can't spawn in wither roses, sweet berry bush, or cacti.
This can be overwritten via
EntityType.Builder.allowSpawningInside(Block[])
- Mappings:
Namespace Name Mixin selector official a
Laqz;a(Lcht;)Z
intermediary method_29496
Lnet/minecraft/class_1299;method_29496(Lnet/minecraft/class_2680;)Z
named isInvalidSpawn
Lnet/minecraft/entity/EntityType;isInvalidSpawn(Lnet/minecraft/block/BlockState;)Z
-
getDimensions
- Mappings:
Namespace Name Mixin selector official m
Laqz;m()Laqw;
intermediary method_18386
Lnet/minecraft/class_1299;method_18386()Lnet/minecraft/class_4048;
named getDimensions
Lnet/minecraft/entity/EntityType;getDimensions()Lnet/minecraft/entity/EntityDimensions;
-
fromTag
- Mappings:
Namespace Name Mixin selector official a
Laqz;a(Lmq;)Ljava/util/Optional;
intermediary method_17684
Lnet/minecraft/class_1299;method_17684(Lnet/minecraft/class_2487;)Ljava/util/Optional;
named fromTag
Lnet/minecraft/entity/EntityType;fromTag(Lnet/minecraft/nbt/CompoundTag;)Ljava/util/Optional;
-
loadEntityWithPassengers
@Nullable public static Entity loadEntityWithPassengers(CompoundTag compoundTag, World world, Function<Entity,Entity> entityProcessor)- Mappings:
Namespace Name Mixin selector official a
Laqz;a(Lmq;Lbtv;Ljava/util/function/Function;)Laqv;
intermediary method_17842
Lnet/minecraft/class_1299;method_17842(Lnet/minecraft/class_2487;Lnet/minecraft/class_1937;Ljava/util/function/Function;)Lnet/minecraft/class_1297;
named loadEntityWithPassengers
Lnet/minecraft/entity/EntityType;loadEntityWithPassengers(Lnet/minecraft/nbt/CompoundTag;Lnet/minecraft/world/World;Ljava/util/function/Function;)Lnet/minecraft/entity/Entity;
-
method_31489
- Mappings:
Namespace Name Mixin selector official a
Laqz;a(Ljava/util/List;Lbtv;)Ljava/util/stream/Stream;
intermediary method_31489
Lnet/minecraft/class_1299;method_31489(Ljava/util/List;Lnet/minecraft/class_1937;)Ljava/util/stream/Stream;
named method_31489
Lnet/minecraft/entity/EntityType;method_31489(Ljava/util/List;Lnet/minecraft/world/World;)Ljava/util/stream/Stream;
-
loadEntityFromTag
- Mappings:
Namespace Name Mixin selector official b
Laqz;b(Lmq;Lbtv;)Ljava/util/Optional;
intermediary method_17848
Lnet/minecraft/class_1299;method_17848(Lnet/minecraft/class_2487;Lnet/minecraft/class_1937;)Ljava/util/Optional;
named loadEntityFromTag
Lnet/minecraft/entity/EntityType;loadEntityFromTag(Lnet/minecraft/nbt/CompoundTag;Lnet/minecraft/world/World;)Ljava/util/Optional;
-
getMaxTrackDistance
public int getMaxTrackDistance()Returns the tracking distance, in chunks, of this type of entity for clients. This will be then modified by the server's tracking distance multiplier.- Mappings:
Namespace Name Mixin selector official n
Laqz;n()I
intermediary method_18387
Lnet/minecraft/class_1299;method_18387()I
named getMaxTrackDistance
Lnet/minecraft/entity/EntityType;getMaxTrackDistance()I
-
getTrackTickInterval
public int getTrackTickInterval()- Mappings:
Namespace Name Mixin selector official o
Laqz;o()I
intermediary method_18388
Lnet/minecraft/class_1299;method_18388()I
named getTrackTickInterval
Lnet/minecraft/entity/EntityType;getTrackTickInterval()I
-
alwaysUpdateVelocity
public boolean alwaysUpdateVelocity()- Mappings:
Namespace Name Mixin selector official p
Laqz;p()Z
intermediary method_18389
Lnet/minecraft/class_1299;method_18389()Z
named alwaysUpdateVelocity
Lnet/minecraft/entity/EntityType;alwaysUpdateVelocity()Z
-
isIn
- Mappings:
Namespace Name Mixin selector official a
Laqz;a(Lafc;)Z
intermediary method_20210
Lnet/minecraft/class_1299;method_20210(Lnet/minecraft/class_3494;)Z
named isIn
Lnet/minecraft/entity/EntityType;isIn(Lnet/minecraft/tag/Tag;)Z
-
method_31796
- Specified by:
method_31796
in interfaceclass_5575<Entity,T extends Entity>
- Mappings:
Namespace Name Mixin selector official a
Laqz;a(Laqv;)Laqv;
intermediary method_31488
Lnet/minecraft/class_1299;method_31488(Lnet/minecraft/class_1297;)Lnet/minecraft/class_1297;
named method_31796
Lnet/minecraft/entity/EntityType;method_31796(Lnet/minecraft/entity/Entity;)Lnet/minecraft/entity/Entity;
-
method_31794
- Specified by:
method_31794
in interfaceclass_5575<Entity,T extends Entity>
- Mappings:
Namespace Name Mixin selector official a
Lcli;a()Ljava/lang/Class;
intermediary method_31794
Lnet/minecraft/class_5575;method_31794()Ljava/lang/Class;
named method_31794
Lnet/minecraft/class_5575;method_31794()Ljava/lang/Class;
-