Class ExpandLootContext
java.lang.Object
com.blamejared.crafttweaker.natives.loot.ExpandLootContext
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic net.minecraft.world.entity.EntitygetAttackingEntity(net.minecraft.world.level.storage.loot.LootContext internal) static net.minecraft.world.level.block.state.BlockStategetBlockState(net.minecraft.world.level.storage.loot.LootContext internal) static net.minecraft.world.damagesource.DamageSourcegetDamageSource(net.minecraft.world.level.storage.loot.LootContext internal) static net.minecraft.world.entity.EntitygetDirectAttackingEntity(net.minecraft.world.level.storage.loot.LootContext internal) static floatgetExplosionRadius(net.minecraft.world.level.storage.loot.LootContext internal) static net.minecraft.world.entity.player.PlayergetLastDamagePlayer(net.minecraft.world.level.storage.loot.LootContext internal) static floatgetLuck(net.minecraft.world.level.storage.loot.LootContext internal) static net.minecraft.world.phys.Vec3getOrigin(net.minecraft.world.level.storage.loot.LootContext internal) static net.minecraft.util.RandomSourcegetRandom(net.minecraft.world.level.storage.loot.LootContext internal) static net.minecraft.world.entity.EntitygetThisEntity(net.minecraft.world.level.storage.loot.LootContext internal) static net.minecraft.world.level.block.entity.BlockEntitygetTileEntity(net.minecraft.world.level.storage.loot.LootContext internal) static IItemStackgetTool(net.minecraft.world.level.storage.loot.LootContext internal) static net.minecraft.server.level.ServerLevelgetWorld(net.minecraft.world.level.storage.loot.LootContext internal)
-
Constructor Details
-
ExpandLootContext
public ExpandLootContext()
-
-
Method Details
-
getThisEntity
public static net.minecraft.world.entity.Entity getThisEntity(net.minecraft.world.level.storage.loot.LootContext internal) -
getLastDamagePlayer
public static net.minecraft.world.entity.player.Player getLastDamagePlayer(net.minecraft.world.level.storage.loot.LootContext internal) -
getDamageSource
public static net.minecraft.world.damagesource.DamageSource getDamageSource(net.minecraft.world.level.storage.loot.LootContext internal) -
getAttackingEntity
public static net.minecraft.world.entity.Entity getAttackingEntity(net.minecraft.world.level.storage.loot.LootContext internal) -
getDirectAttackingEntity
public static net.minecraft.world.entity.Entity getDirectAttackingEntity(net.minecraft.world.level.storage.loot.LootContext internal) -
getOrigin
public static net.minecraft.world.phys.Vec3 getOrigin(net.minecraft.world.level.storage.loot.LootContext internal) -
getBlockState
public static net.minecraft.world.level.block.state.BlockState getBlockState(net.minecraft.world.level.storage.loot.LootContext internal) -
getTileEntity
public static net.minecraft.world.level.block.entity.BlockEntity getTileEntity(net.minecraft.world.level.storage.loot.LootContext internal) -
getTool
-
getExplosionRadius
public static float getExplosionRadius(net.minecraft.world.level.storage.loot.LootContext internal) -
getWorld
public static net.minecraft.server.level.ServerLevel getWorld(net.minecraft.world.level.storage.loot.LootContext internal) -
getLuck
public static float getLuck(net.minecraft.world.level.storage.loot.LootContext internal) -
getRandom
public static net.minecraft.util.RandomSource getRandom(net.minecraft.world.level.storage.loot.LootContext internal)
-