public class HealerTileEntity
extends net.minecraft.tileentity.TileEntity
implements net.minecraft.tileentity.ITickableTileEntity
| Modifier and Type | Field and Description |
|---|---|
boolean |
allPlaced |
boolean |
beingUsed |
int |
flashTimer |
net.minecraft.entity.player.PlayerEntity |
player |
boolean |
playSound |
PokeBall[] |
pokeballType |
float |
rotation |
boolean |
stayDark |
| Constructor and Description |
|---|
HealerTileEntity() |
| Modifier and Type | Method and Description |
|---|---|
int |
getFlashTimer() |
float |
getHealingRate() |
java.util.UUID |
getOwner() |
java.util.UUID |
getOwnerUUID() |
net.minecraft.entity.player.PlayerEntity |
getPlayer() |
PokeBall[] |
getPokeballType() |
int |
getPokemonLastPlaced() |
float |
getRotation() |
PlayerPartyStorage |
getStorage() |
int |
getTickCount() |
net.minecraft.network.play.server.SUpdateTileEntityPacket |
getUpdatePacket() |
net.minecraft.nbt.CompoundNBT |
getUpdateTag() |
boolean |
isAllPlaced() |
boolean |
isBeingUsed() |
boolean |
isPlaySound() |
boolean |
isStayDark() |
void |
load(net.minecraft.block.BlockState state,
net.minecraft.nbt.CompoundNBT compound) |
void |
onDataPacket(net.minecraft.network.NetworkManager net,
net.minecraft.network.play.server.SUpdateTileEntityPacket pkt) |
net.minecraft.nbt.CompoundNBT |
save(net.minecraft.nbt.CompoundNBT compound) |
void |
setColor(net.minecraft.item.DyeColor dyeColor) |
void |
setOwner(java.util.UUID owner) |
void |
tick() |
void |
use(NPCNurseJoy npc,
net.minecraft.entity.player.PlayerEntity player)
Starts the healer when a doctor uses it.
|
void |
use(net.minecraft.entity.player.PlayerEntity player)
Starts the healer when a player uses it.
|
clearCache, clearRemoved, fillCrashReportCategory, getBlockPos, getBlockState, getLevel, getTileData, getType, getViewDistance, hasLevel, isRemoved, loadStatic, logInvalidState, mirror, onChunkUnloaded, onlyOpCanSetNbt, rotate, setChanged, setLevelAndPosition, setPosition, setRemoved, triggerEventareCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, gatherCapabilities, getCapabilities, getCapability, invalidateCaps, reviveCaps, serializeCapsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic boolean beingUsed
public PokeBall[] pokeballType
public net.minecraft.entity.player.PlayerEntity player
public float rotation
public int flashTimer
public boolean allPlaced
public boolean playSound
public boolean stayDark
public void use(NPCNurseJoy npc, net.minecraft.entity.player.PlayerEntity player)
npc - The doctor using the healer.player - The player interacting with the doctor.public void use(net.minecraft.entity.player.PlayerEntity player)
player - The player using the healer.public void setColor(net.minecraft.item.DyeColor dyeColor)
public void tick()
tick in interface net.minecraft.tileentity.ITickableTileEntitypublic java.util.UUID getOwnerUUID()
public void setOwner(java.util.UUID owner)
public net.minecraft.nbt.CompoundNBT save(net.minecraft.nbt.CompoundNBT compound)
save in class net.minecraft.tileentity.TileEntitypublic void load(net.minecraft.block.BlockState state,
net.minecraft.nbt.CompoundNBT compound)
load in class net.minecraft.tileentity.TileEntitypublic net.minecraft.nbt.CompoundNBT getUpdateTag()
getUpdateTag in class net.minecraft.tileentity.TileEntitypublic net.minecraft.network.play.server.SUpdateTileEntityPacket getUpdatePacket()
getUpdatePacket in class net.minecraft.tileentity.TileEntitypublic void onDataPacket(net.minecraft.network.NetworkManager net,
net.minecraft.network.play.server.SUpdateTileEntityPacket pkt)
onDataPacket in interface net.minecraftforge.common.extensions.IForgeTileEntitypublic java.util.UUID getOwner()
public boolean isBeingUsed()
public PokeBall[] getPokeballType()
public PlayerPartyStorage getStorage()
public net.minecraft.entity.player.PlayerEntity getPlayer()
public int getPokemonLastPlaced()
public float getHealingRate()
public int getTickCount()
public float getRotation()
public int getFlashTimer()
public boolean isAllPlaced()
public boolean isPlaySound()
public boolean isStayDark()