Uses of Class
net.minecraft.entity.EntityType.Builder
-
Uses of EntityType.Builder in net.minecraft.entity
Modifier and TypeMethodDescriptionEntityType.Builder.allowSpawningInside
(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.EntityType.Builder.attachment
(EntityAttachmentType type, float offsetX, float offsetY, float offsetZ) EntityType.Builder.attachment
(EntityAttachmentType type, Vec3d offset) static <T extends Entity>
EntityType.Builder<T> EntityType.Builder.create
(EntityType.EntityFactory<T> factory, SpawnGroup spawnGroup) static <T extends Entity>
EntityType.Builder<T> EntityType.Builder.create
(SpawnGroup spawnGroup) EntityType.Builder.dimensions
(float width, float height) EntityType.Builder.disableSaving()
EntityType.Builder.disableSummon()
EntityType.Builder.dropsNothing()
EntityType.Builder.eyeHeight
(float eyeHeight) EntityType.Builder.makeFireImmune()
EntityType.Builder.maxTrackingRange
(int maxTrackingRange) EntityType.Builder.nameTagAttachment
(float offsetY) EntityType.Builder.passengerAttachments
(float[] offsetYs) EntityType.Builder.passengerAttachments
(Vec3d[] passengerAttachments) EntityType.Builder.requires
(FeatureFlag[] features) EntityType.Builder.spawnableFarFromPlayer()
EntityType.Builder.spawnBoxScale
(float spawnBoxScale) EntityType.Builder.trackingTickInterval
(int trackingTickInterval) EntityType.Builder.vehicleAttachment
(float offsetY) EntityType.Builder.vehicleAttachment
(Vec3d vehicleAttachment) Modifier and TypeMethodDescriptionprivate static <T extends Entity>
EntityType<T> EntityType.register
(String id, EntityType.Builder<T> type) private static <T extends Entity>
EntityType<T> EntityType.register
(RegistryKey<EntityType<?>> key, EntityType.Builder<T> type)