Package team.lodestar.lodestone.handlers
Class PlacementAssistantHandler
java.lang.Object
team.lodestar.lodestone.handlers.PlacementAssistantHandler
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic intstatic final ArrayList<IPlacementAssistant>static net.minecraft.world.phys.BlockHitResult -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic floatstatic voidplaceBlock(net.minecraftforge.event.entity.player.PlayerInteractEvent.RightClickBlock event) static voidregisterPlacementAssistants(net.minecraftforge.fml.event.lifecycle.FMLCommonSetupEvent event) static voidtick(net.minecraft.world.entity.player.Player player, net.minecraft.world.phys.HitResult hitResult)
-
Field Details
-
ASSISTANTS
-
animationTick
public static int animationTick -
target
public static net.minecraft.world.phys.BlockHitResult target
-
-
Constructor Details
-
PlacementAssistantHandler
public PlacementAssistantHandler()
-
-
Method Details
-
registerPlacementAssistants
public static void registerPlacementAssistants(net.minecraftforge.fml.event.lifecycle.FMLCommonSetupEvent event) -
placeBlock
public static void placeBlock(net.minecraftforge.event.entity.player.PlayerInteractEvent.RightClickBlock event) -
tick
public static void tick(net.minecraft.world.entity.player.Player player, net.minecraft.world.phys.HitResult hitResult) -
getCurrentAlpha
public static float getCurrentAlpha()
-