Class ExpandPlayer
java.lang.Object
com.blamejared.crafttweaker.natives.entity.type.player.ExpandPlayer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanaddItem(net.minecraft.world.entity.player.Player internal, net.minecraft.world.item.ItemStack stack) static voidattack(net.minecraft.world.entity.player.Player internal, net.minecraft.world.entity.Entity entity) static voidawardStat(net.minecraft.world.entity.player.Player internal, net.minecraft.resources.ResourceLocation stat) static voidawardStat(net.minecraft.world.entity.player.Player internal, net.minecraft.resources.ResourceLocation stat, int amount) static booleancanEat(net.minecraft.world.entity.player.Player internal, boolean ignoreHunger) static booleancanHarmPlayer(net.minecraft.world.entity.player.Player internal, net.minecraft.world.entity.player.Player player) static booleancanUseGameMasterBlocks(net.minecraft.world.entity.player.Player internal) static voidcauseFoodExhaustion(net.minecraft.world.entity.player.Player internal, float exhaustion) static voidcrit(net.minecraft.world.entity.player.Player internal, net.minecraft.world.entity.Entity entity) static voiddisableShield(net.minecraft.world.entity.player.Player internal, boolean usingAxe) static voiddisplayClientMessage(net.minecraft.world.entity.player.Player internal, net.minecraft.network.chat.Component component, boolean actionBar) static net.minecraft.world.entity.item.ItemEntitydrop(net.minecraft.world.entity.player.Player internal, net.minecraft.world.item.ItemStack stack, boolean traceItem) static net.minecraft.world.entity.player.AbilitiesgetAbilities(net.minecraft.world.entity.player.Player internal) static net.minecraft.world.item.ItemCooldownsgetCooldowns(net.minecraft.world.entity.player.Player internal) static floatgetCurrentItemAttackStrengthDelay(net.minecraft.world.entity.player.Player internal) static floatgetDestroySpeed(net.minecraft.world.entity.player.Player internal, net.minecraft.world.level.block.state.BlockState state) static intgetEnchantmentSeed(net.minecraft.world.entity.player.Player internal) static intgetExperienceLevel(net.minecraft.world.entity.player.Player internal) static net.minecraft.world.food.FoodDatagetFoodData(net.minecraft.world.entity.player.Player internal) static net.minecraft.world.entity.player.InventorygetInventory(net.minecraft.world.entity.player.Player internal) static floatgetLuck(net.minecraft.world.entity.player.Player internal) static net.minecraft.world.entity.HumanoidArmgetMainArm(net.minecraft.world.entity.player.Player internal) static intgetScore(net.minecraft.world.entity.player.Player internal) static MapDatagetShoulderEntityLeft(net.minecraft.world.entity.player.Player internal) static MapDatagetShoulderEntityRight(net.minecraft.world.entity.player.Player internal) static intgetSleepTimer(net.minecraft.world.entity.player.Player internal) static intgetXpNeededForNextLevel(net.minecraft.world.entity.player.Player internal) static voidgive(net.minecraft.world.entity.player.Player internal, IItemStack stack, int slot) static voidgiveExperienceLevels(net.minecraft.world.entity.player.Player internal, int levels) static voidgiveExperiencePoints(net.minecraft.world.entity.player.Player internal, int amount) static booleanhasCorrectToolForDrops(net.minecraft.world.entity.player.Player internal, net.minecraft.world.level.block.state.BlockState state) static voidincreaseScore(net.minecraft.world.entity.player.Player internal, int score) static booleanisCreative(net.minecraft.world.entity.player.Player internal) static booleanisHurt(net.minecraft.world.entity.player.Player internal) static booleanisLocalPlayer(net.minecraft.world.entity.player.Player internal) static booleanisReducedDebugInfo(net.minecraft.world.entity.player.Player internal) static booleanisScoping(net.minecraft.world.entity.player.Player internal) static booleanisSecondaryUseActive(net.minecraft.world.entity.player.Player internal) static booleanisSleepingLongEnough(net.minecraft.world.entity.player.Player internal) static voidjumpFromGround(net.minecraft.world.entity.player.Player internal) static voidmagicCrit(net.minecraft.world.entity.player.Player internal, net.minecraft.world.entity.Entity entity) static booleanmayBuild(net.minecraft.world.entity.player.Player internal) static voidplayNotifySound(net.minecraft.world.entity.player.Player internal, net.minecraft.sounds.SoundEvent event, net.minecraft.sounds.SoundSource source, float volume, float pitch) static voidrespawn(net.minecraft.world.entity.player.Player internal) static voidsendMessage(net.minecraft.world.entity.player.Player internal, net.minecraft.network.chat.Component text) static booleansetEntityOnShoulder(net.minecraft.world.entity.player.Player internal, MapData entityData) static voidsetExperienceLevel(net.minecraft.world.entity.player.Player internal, int level) static voidsetMainArm(net.minecraft.world.entity.player.Player internal, net.minecraft.world.entity.HumanoidArm arm) static voidsetReducedDebugInfo(net.minecraft.world.entity.player.Player internal, boolean reducedDebugInfo) static voidsetScore(net.minecraft.world.entity.player.Player internal, int score) static voidstopSleeping(net.minecraft.world.entity.player.Player internal) static voidsweepAttack(net.minecraft.world.entity.player.Player internal)
-
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
-
getShoulderEntityRight
-
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)
-