Package net.minecraft.entity
Class EntityType.Builder<T extends Entity>
java.lang.Object
net.minecraft.entity.EntityType.Builder<T>
- Enclosing class:
EntityType<T extends Entity>
- Mappings:
Namespace Name named net/minecraft/entity/EntityType$Builder
intermediary net/minecraft/class_1299$class_1300
official bvq$a
-
Field Summary
Modifier and TypeFieldDescriptionprivate EntityAttachments.Builder
private ImmutableSet
<Block> private EntityDimensions
private final EntityType.EntityFactory
<T> private boolean
private RegistryKeyedValue
<EntityType<?>, Optional<RegistryKey<LootTable>>> private int
private FeatureSet
private boolean
private boolean
private float
private final SpawnGroup
private boolean
private int
private RegistryKeyedValue
<EntityType<?>, String> -
Constructor Summary
ModifierConstructorDescriptionprivate
Builder
(EntityType.EntityFactory<T> factory, SpawnGroup spawnGroup) -
Method Summary
Modifier and TypeMethodDescriptionallowSpawningInside
(Block[] blocks) Allows this type of entity to spawn inside the given block, bypassing the default wither rose, sweet berry bush, cactus, and fire-damage-dealing blocks for non-fire-resistant mobs.attachment
(EntityAttachmentType type, float offsetX, float offsetY, float offsetZ) attachment
(EntityAttachmentType type, Vec3d offset) build
(RegistryKey<EntityType<?>> registryKey) static <T extends Entity>
EntityType.Builder<T> create
(EntityType.EntityFactory<T> factory, SpawnGroup spawnGroup) static <T extends Entity>
EntityType.Builder<T> create
(SpawnGroup spawnGroup) dimensions
(float width, float height) eyeHeight
(float eyeHeight) maxTrackingRange
(int maxTrackingRange) nameTagAttachment
(float offsetY) passengerAttachments
(float[] offsetYs) passengerAttachments
(Vec3d[] passengerAttachments) requires
(FeatureFlag[] features) spawnBoxScale
(float spawnBoxScale) trackingTickInterval
(int trackingTickInterval) vehicleAttachment
(float offsetY) vehicleAttachment
(Vec3d vehicleAttachment)
-
Field Details
-
factory
- Mappings:
Namespace Name Mixin selector named factory
Lnet/minecraft/entity/EntityType$Builder;factory:Lnet/minecraft/entity/EntityType$EntityFactory;
intermediary field_6148
Lnet/minecraft/class_1299$class_1300;field_6148:Lnet/minecraft/class_1299$class_4049;
official a
Lbvq$a;a:Lbvq$b;
-
spawnGroup
- Mappings:
Namespace Name Mixin selector named spawnGroup
Lnet/minecraft/entity/EntityType$Builder;spawnGroup:Lnet/minecraft/entity/SpawnGroup;
intermediary field_6149
Lnet/minecraft/class_1299$class_1300;field_6149:Lnet/minecraft/class_1311;
official b
Lbvq$a;b:Lbwi;
-
canSpawnInside
- Mappings:
Namespace Name Mixin selector named canSpawnInside
Lnet/minecraft/entity/EntityType$Builder;canSpawnInside:Lcom/google/common/collect/ImmutableSet;
intermediary field_25356
Lnet/minecraft/class_1299$class_1300;field_25356:Lcom/google/common/collect/ImmutableSet;
official c
Lbvq$a;c:Lcom/google/common/collect/ImmutableSet;
-
saveable
private boolean saveable- Mappings:
Namespace Name Mixin selector named saveable
Lnet/minecraft/entity/EntityType$Builder;saveable:Z
intermediary field_6151
Lnet/minecraft/class_1299$class_1300;field_6151:Z
official d
Lbvq$a;d:Z
-
summonable
private boolean summonable- Mappings:
Namespace Name Mixin selector named summonable
Lnet/minecraft/entity/EntityType$Builder;summonable:Z
intermediary field_6150
Lnet/minecraft/class_1299$class_1300;field_6150:Z
official e
Lbvq$a;e:Z
-
fireImmune
private boolean fireImmune- Mappings:
Namespace Name Mixin selector named fireImmune
Lnet/minecraft/entity/EntityType$Builder;fireImmune:Z
intermediary field_18982
Lnet/minecraft/class_1299$class_1300;field_18982:Z
official f
Lbvq$a;f:Z
-
spawnableFarFromPlayer
private boolean spawnableFarFromPlayer- Mappings:
Namespace Name Mixin selector named spawnableFarFromPlayer
Lnet/minecraft/entity/EntityType$Builder;spawnableFarFromPlayer:Z
intermediary field_19424
Lnet/minecraft/class_1299$class_1300;field_19424:Z
official g
Lbvq$a;g:Z
-
maxTrackingRange
private int maxTrackingRange- Mappings:
Namespace Name Mixin selector named maxTrackingRange
Lnet/minecraft/entity/EntityType$Builder;maxTrackingRange:I
intermediary field_24087
Lnet/minecraft/class_1299$class_1300;field_24087:I
official h
Lbvq$a;h:I
-
trackingTickInterval
private int trackingTickInterval- Mappings:
Namespace Name Mixin selector named trackingTickInterval
Lnet/minecraft/entity/EntityType$Builder;trackingTickInterval:I
intermediary field_24088
Lnet/minecraft/class_1299$class_1300;field_24088:I
official i
Lbvq$a;i:I
-
dimensions
- Mappings:
Namespace Name Mixin selector named dimensions
Lnet/minecraft/entity/EntityType$Builder;dimensions:Lnet/minecraft/entity/EntityDimensions;
intermediary field_18071
Lnet/minecraft/class_1299$class_1300;field_18071:Lnet/minecraft/class_4048;
official j
Lbvq$a;j:Lbvm;
-
spawnBoxScale
private float spawnBoxScale- Mappings:
Namespace Name Mixin selector named spawnBoxScale
Lnet/minecraft/entity/EntityType$Builder;spawnBoxScale:F
intermediary field_50126
Lnet/minecraft/class_1299$class_1300;field_50126:F
official k
Lbvq$a;k:F
-
attachments
- Mappings:
Namespace Name Mixin selector named attachments
Lnet/minecraft/entity/EntityType$Builder;attachments:Lnet/minecraft/entity/EntityAttachments$Builder;
intermediary field_47755
Lnet/minecraft/class_1299$class_1300;field_47755:Lnet/minecraft/class_9066$class_9067;
official l
Lbvq$a;l:Lbvl$a;
-
requiredFeatures
- Mappings:
Namespace Name Mixin selector named requiredFeatures
Lnet/minecraft/entity/EntityType$Builder;requiredFeatures:Lnet/minecraft/resource/featuretoggle/FeatureSet;
intermediary field_40117
Lnet/minecraft/class_1299$class_1300;field_40117:Lnet/minecraft/class_7699;
official m
Lbvq$a;m:Lcss;
-
lootTable
- Mappings:
Namespace Name Mixin selector named lootTable
Lnet/minecraft/entity/EntityType$Builder;lootTable:Lnet/minecraft/registry/RegistryKeyedValue;
intermediary field_53972
Lnet/minecraft/class_1299$class_1300;field_53972:Lnet/minecraft/class_10162;
official n
Lbvq$a;n:Lalr;
-
translationKey
- Mappings:
Namespace Name Mixin selector named translationKey
Lnet/minecraft/entity/EntityType$Builder;translationKey:Lnet/minecraft/registry/RegistryKeyedValue;
intermediary field_53973
Lnet/minecraft/class_1299$class_1300;field_53973:Lnet/minecraft/class_10162;
official o
Lbvq$a;o:Lalr;
-
-
Constructor Details
-
Builder
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/entity/EntityType$Builder;<init>(Lnet/minecraft/entity/EntityType$EntityFactory;Lnet/minecraft/entity/SpawnGroup;)V
intermediary <init>
Lnet/minecraft/class_1299$class_1300;<init>(Lnet/minecraft/class_1299$class_4049;Lnet/minecraft/class_1311;)V
official <init>
Lbvq$a;<init>(Lbvq$b;Lbwi;)V
-
-
Method Details
-
create
public static <T extends Entity> EntityType.Builder<T> create(EntityType.EntityFactory<T> factory, SpawnGroup spawnGroup) - Mappings:
Namespace Name Mixin selector named create
Lnet/minecraft/entity/EntityType$Builder;create(Lnet/minecraft/entity/EntityType$EntityFactory;Lnet/minecraft/entity/SpawnGroup;)Lnet/minecraft/entity/EntityType$Builder;
intermediary method_5903
Lnet/minecraft/class_1299$class_1300;method_5903(Lnet/minecraft/class_1299$class_4049;Lnet/minecraft/class_1311;)Lnet/minecraft/class_1299$class_1300;
official a
Lbvq$a;a(Lbvq$b;Lbwi;)Lbvq$a;
-
create
- Mappings:
Namespace Name Mixin selector named create
Lnet/minecraft/entity/EntityType$Builder;create(Lnet/minecraft/entity/SpawnGroup;)Lnet/minecraft/entity/EntityType$Builder;
intermediary method_5902
Lnet/minecraft/class_1299$class_1300;method_5902(Lnet/minecraft/class_1311;)Lnet/minecraft/class_1299$class_1300;
official a
Lbvq$a;a(Lbwi;)Lbvq$a;
-
dimensions
- Mappings:
Namespace Name Mixin selector named dimensions
Lnet/minecraft/entity/EntityType$Builder;dimensions(FF)Lnet/minecraft/entity/EntityType$Builder;
intermediary method_17687
Lnet/minecraft/class_1299$class_1300;method_17687(FF)Lnet/minecraft/class_1299$class_1300;
official a
Lbvq$a;a(FF)Lbvq$a;
-
spawnBoxScale
- Mappings:
Namespace Name Mixin selector named spawnBoxScale
Lnet/minecraft/entity/EntityType$Builder;spawnBoxScale(F)Lnet/minecraft/entity/EntityType$Builder;
intermediary method_58630
Lnet/minecraft/class_1299$class_1300;method_58630(F)Lnet/minecraft/class_1299$class_1300;
official a
Lbvq$a;a(F)Lbvq$a;
-
eyeHeight
- Mappings:
Namespace Name Mixin selector named eyeHeight
Lnet/minecraft/entity/EntityType$Builder;eyeHeight(F)Lnet/minecraft/entity/EntityType$Builder;
intermediary method_55687
Lnet/minecraft/class_1299$class_1300;method_55687(F)Lnet/minecraft/class_1299$class_1300;
official b
Lbvq$a;b(F)Lbvq$a;
-
passengerAttachments
- Mappings:
Namespace Name Mixin selector named passengerAttachments
Lnet/minecraft/entity/EntityType$Builder;passengerAttachments([F)Lnet/minecraft/entity/EntityType$Builder;
intermediary method_55689
Lnet/minecraft/class_1299$class_1300;method_55689([F)Lnet/minecraft/class_1299$class_1300;
official a
Lbvq$a;a([F)Lbvq$a;
-
passengerAttachments
- Mappings:
Namespace Name Mixin selector named passengerAttachments
Lnet/minecraft/entity/EntityType$Builder;passengerAttachments([Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/entity/EntityType$Builder;
intermediary method_55690
Lnet/minecraft/class_1299$class_1300;method_55690([Lnet/minecraft/class_243;)Lnet/minecraft/class_1299$class_1300;
official a
Lbvq$a;a([Lfbx;)Lbvq$a;
-
vehicleAttachment
- Mappings:
Namespace Name Mixin selector named vehicleAttachment
Lnet/minecraft/entity/EntityType$Builder;vehicleAttachment(Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/entity/EntityType$Builder;
intermediary method_55688
Lnet/minecraft/class_1299$class_1300;method_55688(Lnet/minecraft/class_243;)Lnet/minecraft/class_1299$class_1300;
official a
Lbvq$a;a(Lfbx;)Lbvq$a;
-
vehicleAttachment
- Mappings:
Namespace Name Mixin selector named vehicleAttachment
Lnet/minecraft/entity/EntityType$Builder;vehicleAttachment(F)Lnet/minecraft/entity/EntityType$Builder;
intermediary method_55691
Lnet/minecraft/class_1299$class_1300;method_55691(F)Lnet/minecraft/class_1299$class_1300;
official c
Lbvq$a;c(F)Lbvq$a;
-
nameTagAttachment
- Mappings:
Namespace Name Mixin selector named nameTagAttachment
Lnet/minecraft/entity/EntityType$Builder;nameTagAttachment(F)Lnet/minecraft/entity/EntityType$Builder;
intermediary method_55692
Lnet/minecraft/class_1299$class_1300;method_55692(F)Lnet/minecraft/class_1299$class_1300;
official d
Lbvq$a;d(F)Lbvq$a;
-
attachment
public EntityType.Builder<T> attachment(EntityAttachmentType type, float offsetX, float offsetY, float offsetZ) - Mappings:
Namespace Name Mixin selector named attachment
Lnet/minecraft/entity/EntityType$Builder;attachment(Lnet/minecraft/entity/EntityAttachmentType;FFF)Lnet/minecraft/entity/EntityType$Builder;
intermediary method_56075
Lnet/minecraft/class_1299$class_1300;method_56075(Lnet/minecraft/class_9064;FFF)Lnet/minecraft/class_1299$class_1300;
official a
Lbvq$a;a(Lbvk;FFF)Lbvq$a;
-
attachment
- Mappings:
Namespace Name Mixin selector named attachment
Lnet/minecraft/entity/EntityType$Builder;attachment(Lnet/minecraft/entity/EntityAttachmentType;Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/entity/EntityType$Builder;
intermediary method_56076
Lnet/minecraft/class_1299$class_1300;method_56076(Lnet/minecraft/class_9064;Lnet/minecraft/class_243;)Lnet/minecraft/class_1299$class_1300;
official a
Lbvq$a;a(Lbvk;Lfbx;)Lbvq$a;
-
disableSummon
- Mappings:
Namespace Name Mixin selector named disableSummon
Lnet/minecraft/entity/EntityType$Builder;disableSummon()Lnet/minecraft/entity/EntityType$Builder;
intermediary method_5901
Lnet/minecraft/class_1299$class_1300;method_5901()Lnet/minecraft/class_1299$class_1300;
official a
Lbvq$a;a()Lbvq$a;
-
disableSaving
- Mappings:
Namespace Name Mixin selector named disableSaving
Lnet/minecraft/entity/EntityType$Builder;disableSaving()Lnet/minecraft/entity/EntityType$Builder;
intermediary method_5904
Lnet/minecraft/class_1299$class_1300;method_5904()Lnet/minecraft/class_1299$class_1300;
official b
Lbvq$a;b()Lbvq$a;
-
makeFireImmune
- Mappings:
Namespace Name Mixin selector named makeFireImmune
Lnet/minecraft/entity/EntityType$Builder;makeFireImmune()Lnet/minecraft/entity/EntityType$Builder;
intermediary method_19947
Lnet/minecraft/class_1299$class_1300;method_19947()Lnet/minecraft/class_1299$class_1300;
official c
Lbvq$a;c()Lbvq$a;
-
allowSpawningInside
Allows this type of entity to spawn inside the given block, bypassing the default wither rose, sweet berry bush, cactus, and fire-damage-dealing blocks for non-fire-resistant mobs.minecraft:prevent_mob_spawning_inside
tag overrides this. With this setting, fire resistant mobs can spawn on/in fire damage dealing blocks, and wither skeletons can spawn in wither roses. If a block added is not in the default blacklist, the addition has no effect.- Mappings:
Namespace Name Mixin selector named allowSpawningInside
Lnet/minecraft/entity/EntityType$Builder;allowSpawningInside([Lnet/minecraft/block/Block;)Lnet/minecraft/entity/EntityType$Builder;
intermediary method_29497
Lnet/minecraft/class_1299$class_1300;method_29497([Lnet/minecraft/class_2248;)Lnet/minecraft/class_1299$class_1300;
official a
Lbvq$a;a([Ldkl;)Lbvq$a;
-
spawnableFarFromPlayer
- Mappings:
Namespace Name Mixin selector named spawnableFarFromPlayer
Lnet/minecraft/entity/EntityType$Builder;spawnableFarFromPlayer()Lnet/minecraft/entity/EntityType$Builder;
intermediary method_20815
Lnet/minecraft/class_1299$class_1300;method_20815()Lnet/minecraft/class_1299$class_1300;
official d
Lbvq$a;d()Lbvq$a;
-
maxTrackingRange
- Mappings:
Namespace Name Mixin selector named maxTrackingRange
Lnet/minecraft/entity/EntityType$Builder;maxTrackingRange(I)Lnet/minecraft/entity/EntityType$Builder;
intermediary method_27299
Lnet/minecraft/class_1299$class_1300;method_27299(I)Lnet/minecraft/class_1299$class_1300;
official a
Lbvq$a;a(I)Lbvq$a;
-
trackingTickInterval
- Mappings:
Namespace Name Mixin selector named trackingTickInterval
Lnet/minecraft/entity/EntityType$Builder;trackingTickInterval(I)Lnet/minecraft/entity/EntityType$Builder;
intermediary method_27300
Lnet/minecraft/class_1299$class_1300;method_27300(I)Lnet/minecraft/class_1299$class_1300;
official b
Lbvq$a;b(I)Lbvq$a;
-
requires
- Mappings:
Namespace Name Mixin selector named requires
Lnet/minecraft/entity/EntityType$Builder;requires([Lnet/minecraft/resource/featuretoggle/FeatureFlag;)Lnet/minecraft/entity/EntityType$Builder;
intermediary method_45323
Lnet/minecraft/class_1299$class_1300;method_45323([Lnet/minecraft/class_7696;)Lnet/minecraft/class_1299$class_1300;
official a
Lbvq$a;a([Lcsq;)Lbvq$a;
-
dropsNothing
- Mappings:
Namespace Name Mixin selector named dropsNothing
Lnet/minecraft/entity/EntityType$Builder;dropsNothing()Lnet/minecraft/entity/EntityType$Builder;
intermediary method_63006
Lnet/minecraft/class_1299$class_1300;method_63006()Lnet/minecraft/class_1299$class_1300;
official e
Lbvq$a;e()Lbvq$a;
-
build
- Mappings:
Namespace Name Mixin selector named build
Lnet/minecraft/entity/EntityType$Builder;build(Lnet/minecraft/registry/RegistryKey;)Lnet/minecraft/entity/EntityType;
intermediary method_5905
Lnet/minecraft/class_1299$class_1300;method_5905(Lnet/minecraft/class_5321;)Lnet/minecraft/class_1299;
official a
Lbvq$a;a(Laly;)Lbvq;
-