public abstract class MixinEntityPlayer extends MixinEntityLivingBase implements IMixinEntityPlayer
Modifier and Type | Field and Description |
---|---|
net.minecraft.entity.player.PlayerCapabilities |
capabilities |
float |
experience |
int |
experienceLevel |
int |
experienceTotal |
protected net.minecraft.util.FoodStats |
foodStats |
net.minecraft.inventory.Container |
inventoryContainer |
net.minecraft.inventory.Container |
openContainer |
_combatTracker, attackingPlayer, deathTime, entityLivingToAttack, hurtTime, lastDamage, maxHurtResistantTime, maxHurtTime, potionsNeedUpdate
dataWatcher, fallDistance, fire, fireResistance, height, hurtResistantTime, inWater, isDead, motionX, motionY, motionZ, onGround, posX, posY, posZ, prevPosX, prevPosY, prevPosZ, rand, riddenByEntity, ridingEntity, rotationPitch, rotationYaw, width, worldObj
Constructor and Description |
---|
MixinEntityPlayer() |
Modifier and Type | Method and Description |
---|---|
abstract void |
addExperience(int amount) |
abstract net.minecraft.util.IChatComponent |
getDisplayName() |
int |
getExperienceBetweenLevels() |
int |
getExperienceSinceLevel() |
abstract net.minecraft.util.FoodStats |
getFoodStats() |
abstract com.mojang.authlib.GameProfile |
getGameProfile() |
int |
getLevel() |
int |
getTotalExperience() |
abstract net.minecraft.scoreboard.Scoreboard |
getWorldScoreboard() |
boolean |
isFlying() |
void |
setExperienceSinceLevel(int experience) |
void |
setFlying(boolean flying) |
void |
setLevel(int level) |
void |
setTotalExperience(int exp) |
abstract int |
xpBarCap() |
addPotionEffect, addPotionEffect, addPotionEffects, attackEntityFrom, clearActivePotions, damageD, getActivePotionEffects, getCustomName, getEntityAttribute, getEquipmentInSlot, getEyeHeightD, getEyeLocation, getHealth, getHealthD, getHealthData, getInvulnerabilityTicks, getLastAttacker, getLastAttackerAPI, getLastDamage, getMaxAir, getMaxHealth, getMaxHealthD, getMaxInvulnerabilityTicks, getMortalData, getPotionEffects, getRemainingAir, getTeamRepresentation, hasPotionEffect, isAPIInvisible, isCustomNameVisible, isPotionActive, onDeathSendEntityState, readFromNbt, removePotionEffect, removePotionEffect, setAPIInvisible, setCurrentItemOrArmor, setCustomName, setCustomNameVisible, setHealth, setHealthD, setInvulnerabilityTicks, setLastAttacker, setLastAttacker, setLastDamage, setMaxAir, setMaxHealth, setMaxInvulnerabilityTicks, setRemainingAir, toContainer, writeToNbt
getAir, getAlwaysRenderNameTag, getBaseVehicle, getContainers, getCustomNameTag, getEyeHeight, getFlag, getLocation, getPosition, getRotation, getScale, getTeleportVehicle, getTransform, getType, getUniqueId, getUniqueID, getVelocity, getWorld, isLoaded, isOnGround, isRemoved, isTeleporting, mountEntity, onGetEyeHeight, onMoveEntity, onReadFromNBT, onSetSize, onWriteToNBT, remove, setAir, setAlwaysRenderNameTag, setCustomNameTag, setDead, setEyeHeight, setFlag, setIsTeleporting, setLocation, setLocation, setLocationAndRotation, setLocationAndRotation, setLocationAndRotation, setLocationAndRotationSafely, setLocationAndRotationSafely, setLocationSafely, setPassenger, setPosition, setRawData, setRotation, setScale, setTeleportVehicle, setTransform, setVehicle, setVelocity, shadow$setRotation, teleportEntity, transferToWorld, transferToWorld, validateRawData
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBedLocation, isSpawnForced
createSnapshot, damage, getLocation, getRotation, getScale, getTransform, getType, getWorld, isLoaded, isOnGround, isRemoved, remove, setLocation, setLocationAndRotation, setLocationAndRotation, setLocationAndRotationSafely, setLocationAndRotationSafely, setLocationSafely, setRotation, setScale, setTransform, transferToWorld, transferToWorld
getProperties, getProperty, setRawData, validateRawData
copyFrom, copyFrom, get, getContainers, getOrCreate, offer, offer, offer, offer, offer, offer, remove, remove, remove, supports, transform, undo
copy, get, getKeys, getOrElse, getOrNull, getValue, getValues, supports, supports
getActivatedTick, getActivationType, getDefaultActivationState, getSpongeData, inactiveTick, setActivatedTick
public net.minecraft.inventory.Container inventoryContainer
public net.minecraft.inventory.Container openContainer
public int experienceLevel
public int experienceTotal
public float experience
public net.minecraft.entity.player.PlayerCapabilities capabilities
protected net.minecraft.util.FoodStats foodStats
public abstract int xpBarCap()
public abstract net.minecraft.util.FoodStats getFoodStats()
public abstract com.mojang.authlib.GameProfile getGameProfile()
public abstract net.minecraft.util.IChatComponent getDisplayName()
public abstract void addExperience(int amount)
public abstract net.minecraft.scoreboard.Scoreboard getWorldScoreboard()
public int getExperienceSinceLevel()
public void setExperienceSinceLevel(int experience)
public int getExperienceBetweenLevels()
public int getLevel()
public void setLevel(int level)
public int getTotalExperience()
public void setTotalExperience(int exp)
public boolean isFlying()
public void setFlying(boolean flying)