public class RenderBlockTarget
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
int |
ticksExisted |
| Constructor and Description |
|---|
RenderBlockTarget(net.minecraft.world.World world,
net.minecraft.entity.player.PlayerEntity player,
net.minecraft.util.math.BlockPos pos,
net.minecraft.tileentity.TileEntity te,
BlockTrackerClientHandler blockTracker) |
| Modifier and Type | Method and Description |
|---|---|
int |
getHackTime() |
net.minecraft.util.math.BlockPos |
getPos() |
net.minecraft.util.text.ITextComponent |
getTitle() |
void |
hack() |
boolean |
isTargetStillValid()
Check if this target still has any applicable entries.
|
void |
onHackConfirmServer() |
void |
render(com.mojang.blaze3d.matrix.MatrixStack matrixStack,
net.minecraft.client.renderer.IRenderTypeBuffer buffer,
float partialTicks) |
void |
requestServerUpdate(java.util.List<IBlockTrackEntry> applicableTrackEntries) |
boolean |
scroll(net.minecraftforge.client.event.InputEvent.MouseScrollEvent event) |
void |
setTileEntity(net.minecraft.tileentity.TileEntity te) |
void |
tick() |
void |
updateColor(int color) |
public RenderBlockTarget(net.minecraft.world.World world,
net.minecraft.entity.player.PlayerEntity player,
net.minecraft.util.math.BlockPos pos,
net.minecraft.tileentity.TileEntity te,
BlockTrackerClientHandler blockTracker)
public void setTileEntity(net.minecraft.tileentity.TileEntity te)
public boolean isTargetStillValid()
public net.minecraft.util.math.BlockPos getPos()
public void requestServerUpdate(java.util.List<IBlockTrackEntry> applicableTrackEntries)
public void tick()
public void render(com.mojang.blaze3d.matrix.MatrixStack matrixStack,
net.minecraft.client.renderer.IRenderTypeBuffer buffer,
float partialTicks)
public void hack()
public void onHackConfirmServer()
public int getHackTime()
public boolean scroll(net.minecraftforge.client.event.InputEvent.MouseScrollEvent event)
public void updateColor(int color)
public net.minecraft.util.text.ITextComponent getTitle()