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 btc$a
-
Field Summary
Modifier and TypeFieldDescriptionprivate EntityAttachments.Builder
private ImmutableSet
<Block> private EntityDimensions
private final EntityType.EntityFactory
<T> private boolean
private int
private FeatureSet
private boolean
private boolean
private float
private final SpawnGroup
private boolean
private int
-
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) 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
Lbtc$a;a:Lbtc$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
Lbtc$a;b:Lbtu;
-
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
Lbtc$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
Lbtc$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
Lbtc$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
Lbtc$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
Lbtc$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
Lbtc$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
Lbtc$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
Lbtc$a;j:Lbsz;
-
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
Lbtc$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
Lbtc$a;l:Lbsy$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
Lbtc$a;m:Lcpn;
-
-
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>
Lbtc$a;<init>(Lbtc$b;Lbtu;)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
Lbtc$a;a(Lbtc$b;Lbtu;)Lbtc$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
Lbtc$a;a(Lbtu;)Lbtc$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
Lbtc$a;a(FF)Lbtc$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
Lbtc$a;a(F)Lbtc$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
Lbtc$a;b(F)Lbtc$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
Lbtc$a;a([F)Lbtc$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
Lbtc$a;a([Levt;)Lbtc$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
Lbtc$a;a(Levt;)Lbtc$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
Lbtc$a;c(F)Lbtc$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
Lbtc$a;d(F)Lbtc$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
Lbtc$a;a(Lbsx;FFF)Lbtc$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
Lbtc$a;a(Lbsx;Levt;)Lbtc$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
Lbtc$a;a()Lbtc$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
Lbtc$a;b()Lbtc$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
Lbtc$a;c()Lbtc$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
Lbtc$a;a([Ldfb;)Lbtc$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
Lbtc$a;d()Lbtc$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
Lbtc$a;a(I)Lbtc$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
Lbtc$a;b(I)Lbtc$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
Lbtc$a;a([Lcpl;)Lbtc$a;
-
build
- Mappings:
Namespace Name Mixin selector named build
Lnet/minecraft/entity/EntityType$Builder;build(Ljava/lang/String;)Lnet/minecraft/entity/EntityType;
intermediary method_5905
Lnet/minecraft/class_1299$class_1300;method_5905(Ljava/lang/String;)Lnet/minecraft/class_1299;
official a
Lbtc$a;a(Ljava/lang/String;)Lbtc;
-