java.lang.Object
com.blamejared.crafttweaker.natives.entity.type.player.ExpandPlayer

@ZenRegister public class ExpandPlayer extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static boolean
    addItem(net.minecraft.world.entity.player.Player internal, net.minecraft.world.item.ItemStack stack)
     
    static void
    attack(net.minecraft.world.entity.player.Player internal, net.minecraft.world.entity.Entity entity)
     
    static void
    awardStat(net.minecraft.world.entity.player.Player internal, net.minecraft.resources.ResourceLocation stat)
     
    static void
    awardStat(net.minecraft.world.entity.player.Player internal, net.minecraft.resources.ResourceLocation stat, int amount)
     
    static boolean
    canEat(net.minecraft.world.entity.player.Player internal, boolean ignoreHunger)
     
    static boolean
    canHarmPlayer(net.minecraft.world.entity.player.Player internal, net.minecraft.world.entity.player.Player player)
     
    static boolean
    canUseGameMasterBlocks(net.minecraft.world.entity.player.Player internal)
     
    static void
    causeFoodExhaustion(net.minecraft.world.entity.player.Player internal, float exhaustion)
     
    static void
    crit(net.minecraft.world.entity.player.Player internal, net.minecraft.world.entity.Entity entity)
     
    static void
    disableShield(net.minecraft.world.entity.player.Player internal, boolean usingAxe)
     
    static void
    displayClientMessage(net.minecraft.world.entity.player.Player internal, net.minecraft.network.chat.Component component, boolean actionBar)
     
    static net.minecraft.world.entity.item.ItemEntity
    drop(net.minecraft.world.entity.player.Player internal, net.minecraft.world.item.ItemStack stack, boolean traceItem)
     
    static net.minecraft.world.entity.player.Abilities
    getAbilities(net.minecraft.world.entity.player.Player internal)
     
    static net.minecraft.world.item.ItemCooldowns
    getCooldowns(net.minecraft.world.entity.player.Player internal)
     
    static float
    getCurrentItemAttackStrengthDelay(net.minecraft.world.entity.player.Player internal)
     
    static float
    getDestroySpeed(net.minecraft.world.entity.player.Player internal, net.minecraft.world.level.block.state.BlockState state)
     
    static int
    getEnchantmentSeed(net.minecraft.world.entity.player.Player internal)
     
    static int
    getExperienceLevel(net.minecraft.world.entity.player.Player internal)
     
    static net.minecraft.world.food.FoodData
    getFoodData(net.minecraft.world.entity.player.Player internal)
     
    static net.minecraft.world.entity.player.Inventory
    getInventory(net.minecraft.world.entity.player.Player internal)
     
    static float
    getLuck(net.minecraft.world.entity.player.Player internal)
     
    static net.minecraft.world.entity.HumanoidArm
    getMainArm(net.minecraft.world.entity.player.Player internal)
     
    static int
    getScore(net.minecraft.world.entity.player.Player internal)
     
    static MapData
    getShoulderEntityLeft(net.minecraft.world.entity.player.Player internal)
     
    static MapData
    getShoulderEntityRight(net.minecraft.world.entity.player.Player internal)
     
    static int
    getSleepTimer(net.minecraft.world.entity.player.Player internal)
     
    static int
    getXpNeededForNextLevel(net.minecraft.world.entity.player.Player internal)
     
    static void
    give(net.minecraft.world.entity.player.Player internal, IItemStack stack, int slot)
     
    static void
    giveExperienceLevels(net.minecraft.world.entity.player.Player internal, int levels)
     
    static void
    giveExperiencePoints(net.minecraft.world.entity.player.Player internal, int amount)
     
    static boolean
    hasCorrectToolForDrops(net.minecraft.world.entity.player.Player internal, net.minecraft.world.level.block.state.BlockState state)
     
    static void
    increaseScore(net.minecraft.world.entity.player.Player internal, int score)
     
    static boolean
    isCreative(net.minecraft.world.entity.player.Player internal)
     
    static boolean
    isFakePlayer(net.minecraft.world.entity.player.Player internal)
    Checks if this player is a fake player, mainly used for machines.
    static boolean
    isHurt(net.minecraft.world.entity.player.Player internal)
     
    static boolean
    isLocalPlayer(net.minecraft.world.entity.player.Player internal)
     
    static boolean
    isReducedDebugInfo(net.minecraft.world.entity.player.Player internal)
     
    static boolean
    isScoping(net.minecraft.world.entity.player.Player internal)
     
    static boolean
    isSecondaryUseActive(net.minecraft.world.entity.player.Player internal)
     
    static boolean
    isSleepingLongEnough(net.minecraft.world.entity.player.Player internal)
     
    static void
    jumpFromGround(net.minecraft.world.entity.player.Player internal)
     
    static void
    magicCrit(net.minecraft.world.entity.player.Player internal, net.minecraft.world.entity.Entity entity)
     
    static boolean
    mayBuild(net.minecraft.world.entity.player.Player internal)
     
    static void
    playNotifySound(net.minecraft.world.entity.player.Player internal, net.minecraft.sounds.SoundEvent event, net.minecraft.sounds.SoundSource source, float volume, float pitch)
     
    static void
    respawn(net.minecraft.world.entity.player.Player internal)
     
    static void
    sendMessage(net.minecraft.world.entity.player.Player internal, net.minecraft.network.chat.Component text)
     
    static boolean
    setEntityOnShoulder(net.minecraft.world.entity.player.Player internal, MapData entityData)
     
    static void
    setExperienceLevel(net.minecraft.world.entity.player.Player internal, int level)
     
    static void
    setMainArm(net.minecraft.world.entity.player.Player internal, net.minecraft.world.entity.HumanoidArm arm)
     
    static void
    setReducedDebugInfo(net.minecraft.world.entity.player.Player internal, boolean reducedDebugInfo)
     
    static void
    setScore(net.minecraft.world.entity.player.Player internal, int score)
     
    static void
    stopSleeping(net.minecraft.world.entity.player.Player internal)
     
    static void
    sweepAttack(net.minecraft.world.entity.player.Player internal)
     

    Methods inherited from class java.lang.Object

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

    • ExpandPlayer

      public ExpandPlayer()
  • Method Details

    • getAbilities

      public static net.minecraft.world.entity.player.Abilities getAbilities(net.minecraft.world.entity.player.Player internal)
    • isSecondaryUseActive

      public static boolean isSecondaryUseActive(net.minecraft.world.entity.player.Player internal)
    • playNotifySound

      public static void playNotifySound(net.minecraft.world.entity.player.Player internal, net.minecraft.sounds.SoundEvent event, net.minecraft.sounds.SoundSource source, float volume, float pitch)
    • getScore

      public static int getScore(net.minecraft.world.entity.player.Player internal)
    • setScore

      public static void setScore(net.minecraft.world.entity.player.Player internal, int score)
    • increaseScore

      public static void increaseScore(net.minecraft.world.entity.player.Player internal, int score)
    • drop

      public static net.minecraft.world.entity.item.ItemEntity drop(net.minecraft.world.entity.player.Player internal, net.minecraft.world.item.ItemStack stack, boolean traceItem)
    • getDestroySpeed

      public static float getDestroySpeed(net.minecraft.world.entity.player.Player internal, net.minecraft.world.level.block.state.BlockState state)
    • hasCorrectToolForDrops

      public static boolean hasCorrectToolForDrops(net.minecraft.world.entity.player.Player internal, net.minecraft.world.level.block.state.BlockState state)
    • canHarmPlayer

      public static boolean canHarmPlayer(net.minecraft.world.entity.player.Player internal, net.minecraft.world.entity.player.Player player)
    • attack

      public static void attack(net.minecraft.world.entity.player.Player internal, net.minecraft.world.entity.Entity entity)
    • disableShield

      public static void disableShield(net.minecraft.world.entity.player.Player internal, boolean usingAxe)
    • crit

      public static void crit(net.minecraft.world.entity.player.Player internal, net.minecraft.world.entity.Entity entity)
    • magicCrit

      public static void magicCrit(net.minecraft.world.entity.player.Player internal, net.minecraft.world.entity.Entity entity)
    • sweepAttack

      public static void sweepAttack(net.minecraft.world.entity.player.Player internal)
    • respawn

      public static void respawn(net.minecraft.world.entity.player.Player internal)
    • isLocalPlayer

      public static boolean isLocalPlayer(net.minecraft.world.entity.player.Player internal)
    • getInventory

      public static net.minecraft.world.entity.player.Inventory getInventory(net.minecraft.world.entity.player.Player internal)
    • stopSleeping

      public static void stopSleeping(net.minecraft.world.entity.player.Player internal)
    • isSleepingLongEnough

      public static boolean isSleepingLongEnough(net.minecraft.world.entity.player.Player internal)
    • getSleepTimer

      public static int getSleepTimer(net.minecraft.world.entity.player.Player internal)
    • displayClientMessage

      public static void displayClientMessage(net.minecraft.world.entity.player.Player internal, net.minecraft.network.chat.Component component, boolean actionBar)
    • awardStat

      public static void awardStat(net.minecraft.world.entity.player.Player internal, net.minecraft.resources.ResourceLocation stat)
    • awardStat

      public static void awardStat(net.minecraft.world.entity.player.Player internal, net.minecraft.resources.ResourceLocation stat, int amount)
    • jumpFromGround

      public static void jumpFromGround(net.minecraft.world.entity.player.Player internal)
    • giveExperiencePoints

      public static void giveExperiencePoints(net.minecraft.world.entity.player.Player internal, int amount)
    • getEnchantmentSeed

      public static int getEnchantmentSeed(net.minecraft.world.entity.player.Player internal)
    • giveExperienceLevels

      public static void giveExperienceLevels(net.minecraft.world.entity.player.Player internal, int levels)
    • getXpNeededForNextLevel

      public static int getXpNeededForNextLevel(net.minecraft.world.entity.player.Player internal)
    • getExperienceLevel

      public static int getExperienceLevel(net.minecraft.world.entity.player.Player internal)
    • setExperienceLevel

      public static void setExperienceLevel(net.minecraft.world.entity.player.Player internal, int level)
    • causeFoodExhaustion

      public static void causeFoodExhaustion(net.minecraft.world.entity.player.Player internal, float exhaustion)
    • getFoodData

      public static net.minecraft.world.food.FoodData getFoodData(net.minecraft.world.entity.player.Player internal)
    • canEat

      public static boolean canEat(net.minecraft.world.entity.player.Player internal, boolean ignoreHunger)
    • isHurt

      public static boolean isHurt(net.minecraft.world.entity.player.Player internal)
    • mayBuild

      public static boolean mayBuild(net.minecraft.world.entity.player.Player internal)
    • addItem

      public static boolean addItem(net.minecraft.world.entity.player.Player internal, net.minecraft.world.item.ItemStack stack)
    • setEntityOnShoulder

      public static boolean setEntityOnShoulder(net.minecraft.world.entity.player.Player internal, MapData entityData)
    • isCreative

      public static boolean isCreative(net.minecraft.world.entity.player.Player internal)
    • isReducedDebugInfo

      public static boolean isReducedDebugInfo(net.minecraft.world.entity.player.Player internal)
    • setReducedDebugInfo

      public static void setReducedDebugInfo(net.minecraft.world.entity.player.Player internal, boolean reducedDebugInfo)
    • getMainArm

      public static net.minecraft.world.entity.HumanoidArm getMainArm(net.minecraft.world.entity.player.Player internal)
    • setMainArm

      public static void setMainArm(net.minecraft.world.entity.player.Player internal, net.minecraft.world.entity.HumanoidArm arm)
    • getShoulderEntityLeft

      public static MapData getShoulderEntityLeft(net.minecraft.world.entity.player.Player internal)
    • getShoulderEntityRight

      public static MapData getShoulderEntityRight(net.minecraft.world.entity.player.Player internal)
    • getCurrentItemAttackStrengthDelay

      public static float getCurrentItemAttackStrengthDelay(net.minecraft.world.entity.player.Player internal)
    • getCooldowns

      public static net.minecraft.world.item.ItemCooldowns getCooldowns(net.minecraft.world.entity.player.Player internal)
    • getLuck

      public static float getLuck(net.minecraft.world.entity.player.Player internal)
    • canUseGameMasterBlocks

      public static boolean canUseGameMasterBlocks(net.minecraft.world.entity.player.Player internal)
    • isScoping

      public static boolean isScoping(net.minecraft.world.entity.player.Player internal)
    • give

      public static void give(net.minecraft.world.entity.player.Player internal, IItemStack stack, int slot)
    • sendMessage

      public static void sendMessage(net.minecraft.world.entity.player.Player internal, net.minecraft.network.chat.Component text)
    • isFakePlayer

      public static boolean isFakePlayer(net.minecraft.world.entity.player.Player internal)
      Checks if this player is a fake player, mainly used for machines.
      Returns:
      true if this is a fake player, false otherwise.