public class ClientSide
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static ClientSide |
instance |
static net.minecraft.client.renderer.texture.TextureAtlasSprite |
placeIcon |
static net.minecraft.client.renderer.texture.TextureAtlasSprite |
redoIcon |
static net.minecraft.client.renderer.texture.TextureAtlasSprite |
swapIcon |
TapeMeasures |
tapeMeasures |
static net.minecraft.client.renderer.texture.TextureAtlasSprite |
trashIcon |
static net.minecraft.client.renderer.texture.TextureAtlasSprite |
undoIcon |
Constructor and Description |
---|
ClientSide() |
Modifier and Type | Method and Description |
---|---|
boolean |
addBlockDestroyEffects(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state,
net.minecraft.client.particle.ParticleManager effectRenderer) |
boolean |
addHitEffects(net.minecraft.world.World world,
net.minecraft.util.math.RayTraceResult target,
net.minecraft.block.state.IBlockState state,
net.minecraft.client.particle.ParticleManager effectRenderer) |
static void |
breakSound(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
int extractedState) |
void |
drawHighlight(net.minecraftforge.client.event.DrawBlockHighlightEvent event) |
void |
drawHighlight(net.minecraftforge.client.event.RenderWorldLastEvent event) |
void |
drawingInteractionPrevention(net.minecraftforge.event.entity.player.PlayerInteractEvent.RightClickBlock pie) |
void |
drawLast(net.minecraftforge.client.event.RenderWorldLastEvent event) |
ChiselToolType |
getDrawnTool() |
ChiselToolType |
getHeldToolType(net.minecraft.util.EnumHand enumHand) |
SpriteIconPositioning |
getIconForMode(IToolMode mode) |
net.minecraft.client.settings.KeyBinding |
getKeyBinding(ModKeyBinding modKeyBinding) |
int |
getLastRenderedFrame() |
net.minecraft.client.renderer.texture.TextureAtlasSprite |
getMissingIcon() |
java.lang.String |
getModeKey() |
net.minecraft.entity.player.EntityPlayer |
getPlayer() |
BitLocation |
getStartPos() |
boolean |
holdingShift() |
void |
init(ChiselsAndBits chiselsandbits) |
void |
interaction(net.minecraftforge.fml.common.gameevent.TickEvent.ClientTickEvent event) |
void |
onRenderGUI(net.minecraftforge.client.event.RenderGameOverlayEvent.Post event) |
static void |
placeSound(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
int stateID) |
void |
playRadialMenu() |
void |
pointAt(ChiselToolType type,
BitLocation pos,
net.minecraft.util.EnumHand hand) |
void |
postinit(ChiselsAndBits mod) |
void |
preinit(ChiselsAndBits mod) |
void |
registerModels() |
void |
wheelEvent(net.minecraftforge.client.event.MouseEvent me) |
public static final ClientSide instance
public final TapeMeasures tapeMeasures
public static net.minecraft.client.renderer.texture.TextureAtlasSprite undoIcon
public static net.minecraft.client.renderer.texture.TextureAtlasSprite redoIcon
public static net.minecraft.client.renderer.texture.TextureAtlasSprite trashIcon
public static net.minecraft.client.renderer.texture.TextureAtlasSprite swapIcon
public static net.minecraft.client.renderer.texture.TextureAtlasSprite placeIcon
public net.minecraft.client.settings.KeyBinding getKeyBinding(ModKeyBinding modKeyBinding)
public void preinit(ChiselsAndBits mod)
public void init(ChiselsAndBits chiselsandbits)
public void postinit(ChiselsAndBits mod)
public void registerModels()
public SpriteIconPositioning getIconForMode(IToolMode mode)
public void onRenderGUI(net.minecraftforge.client.event.RenderGameOverlayEvent.Post event)
public void playRadialMenu()
public ChiselToolType getHeldToolType(net.minecraft.util.EnumHand enumHand)
public void drawingInteractionPrevention(net.minecraftforge.event.entity.player.PlayerInteractEvent.RightClickBlock pie)
public void interaction(net.minecraftforge.fml.common.gameevent.TickEvent.ClientTickEvent event)
public void drawHighlight(net.minecraftforge.client.event.RenderWorldLastEvent event)
public void drawHighlight(net.minecraftforge.client.event.DrawBlockHighlightEvent event)
public void drawLast(net.minecraftforge.client.event.RenderWorldLastEvent event)
public net.minecraft.entity.player.EntityPlayer getPlayer()
public boolean addHitEffects(net.minecraft.world.World world, net.minecraft.util.math.RayTraceResult target, net.minecraft.block.state.IBlockState state, net.minecraft.client.particle.ParticleManager effectRenderer)
public void wheelEvent(net.minecraftforge.client.event.MouseEvent me)
public static void placeSound(net.minecraft.world.World world, net.minecraft.util.math.BlockPos pos, int stateID)
public static void breakSound(net.minecraft.world.World world, net.minecraft.util.math.BlockPos pos, int extractedState)
public int getLastRenderedFrame()
public BitLocation getStartPos()
public void pointAt(@Nonnull ChiselToolType type, @Nonnull BitLocation pos, @Nonnull net.minecraft.util.EnumHand hand)
public boolean addBlockDestroyEffects(@Nonnull net.minecraft.world.World world, @Nonnull net.minecraft.util.math.BlockPos pos, net.minecraft.block.state.IBlockState state, net.minecraft.client.particle.ParticleManager effectRenderer)
public net.minecraft.client.renderer.texture.TextureAtlasSprite getMissingIcon()
public java.lang.String getModeKey()
public ChiselToolType getDrawnTool()
public boolean holdingShift()