Class ExpandEntityType

java.lang.Object
com.blamejared.crafttweaker.natives.entity.ExpandEntityType

@ZenRegister public class ExpandEntityType extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    asEntityIngredient(net.minecraft.world.entity.EntityType<net.minecraft.world.entity.Entity> internal)
     
    asList(net.minecraft.world.entity.EntityType<net.minecraft.world.entity.Entity> internal, CTEntityIngredient other)
     
    static boolean
    canSpawnFarFromPlayer(net.minecraft.world.entity.EntityType<net.minecraft.world.entity.Entity> internal)
     
    static boolean
    canSummon(net.minecraft.world.entity.EntityType<net.minecraft.world.entity.Entity> internal)
     
    static net.minecraft.world.entity.Entity
    create(net.minecraft.world.entity.EntityType<net.minecraft.world.entity.Entity> internal, net.minecraft.world.level.Level level)
     
    static boolean
    fireImmune(net.minecraft.world.entity.EntityType<net.minecraft.world.entity.Entity> internal)
     
    static net.minecraft.world.entity.MobCategory
    getCategory(net.minecraft.world.entity.EntityType<net.minecraft.world.entity.Entity> internal)
     
    static String
    getCommandString(net.minecraft.world.entity.EntityType<net.minecraft.world.entity.Entity> internal)
     
    static net.minecraft.resources.ResourceLocation
    getDefaultLootTable(net.minecraft.world.entity.EntityType<net.minecraft.world.entity.Entity> internal)
     
    static net.minecraft.network.chat.Component
    getDescription(net.minecraft.world.entity.EntityType<net.minecraft.world.entity.Entity> internal)
     
    static String
    getDescriptionId(net.minecraft.world.entity.EntityType<net.minecraft.world.entity.Entity> internal)
     
    static net.minecraft.world.entity.EntityDimensions
    getDimensions(net.minecraft.world.entity.EntityType<net.minecraft.world.entity.Entity> internal)
     
    static float
    getHeight(net.minecraft.world.entity.EntityType<net.minecraft.world.entity.Entity> internal)
     
    static net.minecraft.resources.ResourceLocation
    getRegistryName(net.minecraft.world.entity.EntityType<net.minecraft.world.entity.Entity> internal)
     
    static float
    getWidth(net.minecraft.world.entity.EntityType<net.minecraft.world.entity.Entity> internal)
     
    static boolean
    isBlockDangerous(net.minecraft.world.entity.EntityType<net.minecraft.world.entity.Entity> internal, net.minecraft.world.level.block.state.BlockState state)
     
    static boolean
    isIn(net.minecraft.world.entity.EntityType<net.minecraft.world.entity.Entity> internal, KnownTag<net.minecraft.world.entity.EntityType<net.minecraft.world.entity.Entity>> tag)
     
    static net.minecraft.world.entity.Entity
    spawn(net.minecraft.world.entity.EntityType<net.minecraft.world.entity.Entity> internal, net.minecraft.server.level.ServerLevel level, MapData data, Consumer<net.minecraft.world.entity.Entity> onSpawn, net.minecraft.core.BlockPos position, net.minecraft.world.entity.MobSpawnType spawnType, boolean alignPosition, boolean invertY)
     
    static net.minecraft.world.entity.Entity
    spawn(net.minecraft.world.entity.EntityType<net.minecraft.world.entity.Entity> internal, net.minecraft.server.level.ServerLevel level, IItemStack spawnStack, net.minecraft.world.entity.player.Player spawningPlayer, net.minecraft.core.BlockPos position, net.minecraft.world.entity.MobSpawnType spawnType, boolean alignPosition, boolean invertY)
     
    static net.minecraft.world.entity.Entity
    spawn(net.minecraft.world.entity.EntityType<net.minecraft.world.entity.Entity> internal, net.minecraft.server.level.ServerLevel level, net.minecraft.core.BlockPos position, net.minecraft.world.entity.MobSpawnType spawnType)
     
    static String
    toShortString(net.minecraft.world.entity.EntityType<net.minecraft.world.entity.Entity> internal)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ExpandEntityType

      public ExpandEntityType()
  • Method Details

    • spawn

      public static net.minecraft.world.entity.Entity spawn(net.minecraft.world.entity.EntityType<net.minecraft.world.entity.Entity> internal, net.minecraft.server.level.ServerLevel level, IItemStack spawnStack, net.minecraft.world.entity.player.Player spawningPlayer, net.minecraft.core.BlockPos position, net.minecraft.world.entity.MobSpawnType spawnType, boolean alignPosition, boolean invertY)
    • spawn

      public static net.minecraft.world.entity.Entity spawn(net.minecraft.world.entity.EntityType<net.minecraft.world.entity.Entity> internal, net.minecraft.server.level.ServerLevel level, net.minecraft.core.BlockPos position, net.minecraft.world.entity.MobSpawnType spawnType)
    • spawn

      public static net.minecraft.world.entity.Entity spawn(net.minecraft.world.entity.EntityType<net.minecraft.world.entity.Entity> internal, net.minecraft.server.level.ServerLevel level, MapData data, Consumer<net.minecraft.world.entity.Entity> onSpawn, net.minecraft.core.BlockPos position, net.minecraft.world.entity.MobSpawnType spawnType, boolean alignPosition, boolean invertY)
    • canSummon

      public static boolean canSummon(net.minecraft.world.entity.EntityType<net.minecraft.world.entity.Entity> internal)
    • fireImmune

      public static boolean fireImmune(net.minecraft.world.entity.EntityType<net.minecraft.world.entity.Entity> internal)
    • canSpawnFarFromPlayer

      public static boolean canSpawnFarFromPlayer(net.minecraft.world.entity.EntityType<net.minecraft.world.entity.Entity> internal)
    • getCategory

      public static net.minecraft.world.entity.MobCategory getCategory(net.minecraft.world.entity.EntityType<net.minecraft.world.entity.Entity> internal)
    • getDescriptionId

      public static String getDescriptionId(net.minecraft.world.entity.EntityType<net.minecraft.world.entity.Entity> internal)
    • getDescription

      public static net.minecraft.network.chat.Component getDescription(net.minecraft.world.entity.EntityType<net.minecraft.world.entity.Entity> internal)
    • toShortString

      public static String toShortString(net.minecraft.world.entity.EntityType<net.minecraft.world.entity.Entity> internal)
    • getDefaultLootTable

      public static net.minecraft.resources.ResourceLocation getDefaultLootTable(net.minecraft.world.entity.EntityType<net.minecraft.world.entity.Entity> internal)
    • getWidth

      public static float getWidth(net.minecraft.world.entity.EntityType<net.minecraft.world.entity.Entity> internal)
    • getHeight

      public static float getHeight(net.minecraft.world.entity.EntityType<net.minecraft.world.entity.Entity> internal)
    • create

      public static net.minecraft.world.entity.Entity create(net.minecraft.world.entity.EntityType<net.minecraft.world.entity.Entity> internal, net.minecraft.world.level.Level level)
    • isBlockDangerous

      public static boolean isBlockDangerous(net.minecraft.world.entity.EntityType<net.minecraft.world.entity.Entity> internal, net.minecraft.world.level.block.state.BlockState state)
    • getDimensions

      public static net.minecraft.world.entity.EntityDimensions getDimensions(net.minecraft.world.entity.EntityType<net.minecraft.world.entity.Entity> internal)
    • isIn

      public static boolean isIn(net.minecraft.world.entity.EntityType<net.minecraft.world.entity.Entity> internal, KnownTag<net.minecraft.world.entity.EntityType<net.minecraft.world.entity.Entity>> tag)
    • getRegistryName

      public static net.minecraft.resources.ResourceLocation getRegistryName(net.minecraft.world.entity.EntityType<net.minecraft.world.entity.Entity> internal)
    • getCommandString

      public static String getCommandString(net.minecraft.world.entity.EntityType<net.minecraft.world.entity.Entity> internal)
    • asEntityIngredient

      public static CTEntityIngredient asEntityIngredient(net.minecraft.world.entity.EntityType<net.minecraft.world.entity.Entity> internal)
    • asList

      public static CTEntityIngredient asList(net.minecraft.world.entity.EntityType<net.minecraft.world.entity.Entity> internal, CTEntityIngredient other)