Class ExpandEntityType
java.lang.Object
com.blamejared.crafttweaker.natives.entity.ExpandEntityType
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CTEntityIngredientasEntityIngredient(net.minecraft.world.entity.EntityType internal) static CTEntityIngredientasList(net.minecraft.world.entity.EntityType internal, CTEntityIngredient other) static booleancanSpawnFarFromPlayer(net.minecraft.world.entity.EntityType internal) static booleancanSummon(net.minecraft.world.entity.EntityType internal) static net.minecraft.world.entity.Entitycreate(net.minecraft.world.entity.EntityType internal, net.minecraft.server.level.ServerLevel level, MapData data, net.minecraft.network.chat.Component displayName, net.minecraft.world.entity.player.Player spawningPlayer, net.minecraft.core.BlockPos pos, net.minecraft.world.entity.MobSpawnType spawnType, boolean alignPosition, boolean invertY) static net.minecraft.world.entity.Entitycreate(net.minecraft.world.entity.EntityType internal, net.minecraft.world.level.Level level) static booleanfireImmune(net.minecraft.world.entity.EntityType internal) static net.minecraft.world.entity.MobCategorygetCategory(net.minecraft.world.entity.EntityType internal) static StringgetCommandString(net.minecraft.world.entity.EntityType internal) static net.minecraft.resources.ResourceLocationgetDefaultLootTable(net.minecraft.world.entity.EntityType internal) static net.minecraft.network.chat.ComponentgetDescription(net.minecraft.world.entity.EntityType internal) static StringgetDescriptionId(net.minecraft.world.entity.EntityType internal) static net.minecraft.world.entity.EntityDimensionsgetDimensions(net.minecraft.world.entity.EntityType internal) static floatgetHeight(net.minecraft.world.entity.EntityType internal) static floatgetWidth(net.minecraft.world.entity.EntityType internal) static booleanisBlockDangerous(net.minecraft.world.entity.EntityType internal, net.minecraft.world.level.block.state.BlockState state) static booleanisIn(net.minecraft.world.entity.EntityType internal, KnownTag<net.minecraft.world.entity.EntityType<net.minecraft.world.entity.Entity>> tag) static net.minecraft.world.entity.Entityspawn(net.minecraft.world.entity.EntityType internal, net.minecraft.server.level.ServerLevel level, MapData data, net.minecraft.network.chat.Component displayName, net.minecraft.world.entity.player.Player spawningPlayer, net.minecraft.core.BlockPos pos, net.minecraft.world.entity.MobSpawnType spawnType, boolean alignPosition, boolean invertY) static StringtoShortString(net.minecraft.world.entity.EntityType internal)
-
Constructor Details
-
ExpandEntityType
public ExpandEntityType()
-
-
Method Details
-
spawn
public static net.minecraft.world.entity.Entity spawn(net.minecraft.world.entity.EntityType internal, net.minecraft.server.level.ServerLevel level, MapData data, net.minecraft.network.chat.Component displayName, net.minecraft.world.entity.player.Player spawningPlayer, net.minecraft.core.BlockPos pos, net.minecraft.world.entity.MobSpawnType spawnType, boolean alignPosition, boolean invertY) -
create
public static net.minecraft.world.entity.Entity create(net.minecraft.world.entity.EntityType internal, net.minecraft.server.level.ServerLevel level, MapData data, net.minecraft.network.chat.Component displayName, net.minecraft.world.entity.player.Player spawningPlayer, net.minecraft.core.BlockPos pos, net.minecraft.world.entity.MobSpawnType spawnType, boolean alignPosition, boolean invertY) -
canSummon
public static boolean canSummon(net.minecraft.world.entity.EntityType internal) -
fireImmune
public static boolean fireImmune(net.minecraft.world.entity.EntityType internal) -
canSpawnFarFromPlayer
public static boolean canSpawnFarFromPlayer(net.minecraft.world.entity.EntityType internal) -
getCategory
public static net.minecraft.world.entity.MobCategory getCategory(net.minecraft.world.entity.EntityType internal) -
getDescriptionId
-
getDescription
public static net.minecraft.network.chat.Component getDescription(net.minecraft.world.entity.EntityType internal) -
toShortString
-
getDefaultLootTable
public static net.minecraft.resources.ResourceLocation getDefaultLootTable(net.minecraft.world.entity.EntityType internal) -
getWidth
public static float getWidth(net.minecraft.world.entity.EntityType internal) -
getHeight
public static float getHeight(net.minecraft.world.entity.EntityType internal) -
create
public static net.minecraft.world.entity.Entity create(net.minecraft.world.entity.EntityType internal, net.minecraft.world.level.Level level) -
isBlockDangerous
public static boolean isBlockDangerous(net.minecraft.world.entity.EntityType internal, net.minecraft.world.level.block.state.BlockState state) -
getDimensions
public static net.minecraft.world.entity.EntityDimensions getDimensions(net.minecraft.world.entity.EntityType internal) -
isIn
public static boolean isIn(net.minecraft.world.entity.EntityType internal, KnownTag<net.minecraft.world.entity.EntityType<net.minecraft.world.entity.Entity>> tag) -
getCommandString
-
asEntityIngredient
-
asList
public static CTEntityIngredient asList(net.minecraft.world.entity.EntityType internal, CTEntityIngredient other)
-