Class ExpandLootContext

java.lang.Object
com.blamejared.crafttweaker.natives.loot.ExpandLootContext

@ZenRegister public final class ExpandLootContext extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static net.minecraft.world.level.block.state.BlockState
    getBlockState(net.minecraft.world.level.storage.loot.LootContext internal)
     
    static net.minecraft.world.damagesource.DamageSource
    getDamageSource(net.minecraft.world.level.storage.loot.LootContext internal)
     
    static net.minecraft.world.entity.Entity
    getDirectKillerEntity(net.minecraft.world.level.storage.loot.LootContext internal)
     
    static float
    getExplosionRadius(net.minecraft.world.level.storage.loot.LootContext internal)
     
    static net.minecraft.world.entity.Entity
    getKillerEntity(net.minecraft.world.level.storage.loot.LootContext internal)
     
    static net.minecraft.world.entity.player.Player
    getLastDamagePlayer(net.minecraft.world.level.storage.loot.LootContext internal)
     
    static float
    getLuck(net.minecraft.world.level.storage.loot.LootContext internal)
     
    static net.minecraft.world.phys.Vec3
    getOrigin(net.minecraft.world.level.storage.loot.LootContext internal)
     
    static Random
    getRandom(net.minecraft.world.level.storage.loot.LootContext internal)
     
    static net.minecraft.world.entity.Entity
    getThisEntity(net.minecraft.world.level.storage.loot.LootContext internal)
     
    static net.minecraft.world.level.block.entity.BlockEntity
    getTileEntity(net.minecraft.world.level.storage.loot.LootContext internal)
     
    static IItemStack
    getTool(net.minecraft.world.level.storage.loot.LootContext internal)
     
    static net.minecraft.server.level.ServerLevel
    getWorld(net.minecraft.world.level.storage.loot.LootContext internal)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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)
    • getKillerEntity

      public static net.minecraft.world.entity.Entity getKillerEntity(net.minecraft.world.level.storage.loot.LootContext internal)
    • getDirectKillerEntity

      public static net.minecraft.world.entity.Entity getDirectKillerEntity(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

      public static IItemStack getTool(net.minecraft.world.level.storage.loot.LootContext internal)
    • 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 Random getRandom(net.minecraft.world.level.storage.loot.LootContext internal)