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, lastActiveTarget, lastDamage, lastKilledTarget, 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() |
abstract boolean |
isSpectator() |
List |
onGetEntitiesWithinAABB(net.minecraft.world.World world,
net.minecraft.entity.Entity entity,
net.minecraft.util.AxisAlignedBB aabb) |
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, getInvulnerabilityTicks, getLastActiveTarget, getLastAttacker, getLastAttackerAPI, getLastDamage, getLastKilledTarget, getMaxAir, getMaxHealth, getMaxHealthD, getMaxInvulnerabilityTicks, getPotionEffects, getRemainingAir, getTeamRepresentation, hasPotionEffect, isAPIInvisible, isCustomNameVisible, isPotionActive, onCollideWithNearbyEntities, onDeathSendEntityState, onSetRevengeTarget, readFromNbt, removePotionEffect, removePotionEffect, setAPIInvisible, setCurrentItemOrArmor, setCustomName, setCustomNameVisible, setHealth, setHealthD, setInvulnerabilityTicks, setLastAttacker, setLastAttacker, setLastDamage, setMaxAir, setMaxHealth, setMaxInvulnerabilityTicks, setRemainingAir, writeToNbt
copy, createSnapshot, getAir, getAlwaysRenderNameTag, getBaseVehicle, getContainers, getCustomNameTag, getEyeHeight, getFlag, getLocation, getPosition, getRotation, getScale, getSpongeCreator, 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, supplyVanillaManipulators, teleportEntity, toContainer, transferToWorld, transferToWorld, validateRawData, writeToNBT
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBedLocation, isSpawnForced
getHealthData, getMortalData
createSnapshot, damage, getLocation, getRotation, getScale, getTransform, getType, getWorld, isLoaded, isOnGround, isRemoved, remove, setLocation, setLocationAndRotation, setLocationAndRotation, setLocationAndRotationSafely, setLocationAndRotationSafely, setLocationSafely, setRotation, setScale, setTransform, transferToWorld, transferToWorld
getApplicableProperties, getProperty
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 abstract boolean isSpectator()
public List onGetEntitiesWithinAABB(net.minecraft.world.World world, net.minecraft.entity.Entity entity, net.minecraft.util.AxisAlignedBB aabb)
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)