Class NetworkClientHandlers
java.lang.Object
com.hammy275.immersivemc.common.network.NetworkClientHandlers
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
checkHandlerMatch
(List<net.minecraft.resources.ResourceLocation> serverHandlerIDs) static void
doDoubleRumble
(float duration) static <NS extends NetworkStorage>
voidhandleReceiveInvData
(NS storage, net.minecraft.core.BlockPos pos, ImmersiveHandler<NS> handler) static void
setBackpackOutput
(net.minecraft.world.item.ItemStack output) static void
setBeaconData
(BeaconDataPacket packet)
-
Constructor Details
-
NetworkClientHandlers
public NetworkClientHandlers()
-
-
Method Details
-
checkHandlerMatch
public static void checkHandlerMatch(List<net.minecraft.resources.ResourceLocation> serverHandlerIDs) -
setBeaconData
-
setBackpackOutput
public static void setBackpackOutput(net.minecraft.world.item.ItemStack output) -
handleReceiveInvData
public static <NS extends NetworkStorage> void handleReceiveInvData(NS storage, net.minecraft.core.BlockPos pos, ImmersiveHandler<NS> handler) -
doDoubleRumble
public static void doDoubleRumble(float duration)
-