Class BuildGuide
java.lang.Object
net.ixdarklord.folios.internal.client.build.BuildGuide
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidhud(net.minecraft.client.gui.GuiGraphicsExtractor graphics) static booleanisActive()static booleanonUse(boolean sneaking) A use (right-click) by the local player, before the game acts on it: while the guide is carried it sets it down, and sneaking it puts the guide away; either way the use is the guide's.static voidrender(net.minecraft.client.renderer.state.level.CameraRenderState camera, float partialTick) Draws the ghosts, after the level and before the hands.static voidstart(net.minecraft.network.chat.Component name, Map<net.minecraft.core.BlockPos, BlockChoice> blocks) Starts guiding a build (offsets from its lowest corner), in place of any other.static voidstop()static voidtick(net.minecraft.client.Minecraft minecraft)
-
Method Details
-
start
public static void start(net.minecraft.network.chat.Component name, Map<net.minecraft.core.BlockPos, BlockChoice> blocks) Starts guiding a build (offsets from its lowest corner), in place of any other. -
isActive
public static boolean isActive() -
stop
public static void stop() -
tick
public static void tick(net.minecraft.client.Minecraft minecraft) -
onUse
public static boolean onUse(boolean sneaking) A use (right-click) by the local player, before the game acts on it: while the guide is carried it sets it down, and sneaking it puts the guide away; either way the use is the guide's. Otherwise it is left to the game.- Returns:
- whether the guide took it
-
render
public static void render(net.minecraft.client.renderer.state.level.CameraRenderState camera, float partialTick) Draws the ghosts, after the level and before the hands. -
hud
public static void hud(net.minecraft.client.gui.GuiGraphicsExtractor graphics)
-