Package com.hammy275.immersivemc
Class PlatformClient
java.lang.Object
com.hammy275.immersivemc.PlatformClient
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
registerEntityModelLayer
(net.minecraft.client.model.geom.ModelLayerLocation location, Supplier<net.minecraft.client.model.geom.builders.LayerDefinition> definition) static void
registerKeyMapping
(net.minecraft.client.KeyMapping keyMapping) static void
registerOnClientDisconnectListener
(Consumer<net.minecraft.world.entity.player.Player> listener) static void
registerOnClientJoinListener
(Consumer<net.minecraft.client.Minecraft> listener) static void
registerOnClientTickListener
(Consumer<net.minecraft.client.Minecraft> listener)
-
Constructor Details
-
PlatformClient
public PlatformClient()
-
-
Method Details
-
registerOnClientJoinListener
-
registerOnClientTickListener
-
registerOnClientDisconnectListener
public static void registerOnClientDisconnectListener(Consumer<net.minecraft.world.entity.player.Player> listener) -
registerKeyMapping
public static void registerKeyMapping(net.minecraft.client.KeyMapping keyMapping) -
registerEntityModelLayer
public static void registerEntityModelLayer(net.minecraft.client.model.geom.ModelLayerLocation location, Supplier<net.minecraft.client.model.geom.builders.LayerDefinition> definition)
-