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.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.disableSaving()
EntityType.Builder.disableSummon()
EntityType.Builder.makeFireImmune()
EntityType.Builder.maxTrackingRange(int maxTrackingRange)
EntityType.Builder.setDimensions(float width, float height)
EntityType.Builder.spawnableFarFromPlayer()
EntityType.Builder.trackingTickInterval(int trackingTickInterval)
Modifier and TypeMethodDescriptionprivate static <T extends Entity>
EntityType<T>EntityType.register(String id, EntityType.Builder<T> type)