Class NetworkHandler
java.lang.Object
me.wolfyscript.customcrafting.network.NetworkHandler
-
Constructor Summary
ConstructorsConstructorDescriptionNetworkHandler(CustomCrafting customCrafting, me.wolfyscript.utilities.api.WolfyUtilities wolfyUtilities) -
Method Summary
Modifier and TypeMethodDescriptionvoidhandlePlaceRecipe(org.bukkit.entity.Player player, me.wolfyscript.utilities.api.nms.network.MCByteBuf byteBuf)voidvoidsendRecipeBookSettings(org.bukkit.entity.Player player)voidsendRecipes(org.bukkit.entity.Player player)protected voidwriteNamespacedKeyList(List<String> values, me.wolfyscript.utilities.api.nms.network.MCByteBuf byteBuf)
-
Constructor Details
-
NetworkHandler
public NetworkHandler(CustomCrafting customCrafting, me.wolfyscript.utilities.api.WolfyUtilities wolfyUtilities)
-
-
Method Details
-
registerPackets
public void registerPackets() -
sendRecipes
public void sendRecipes(org.bukkit.entity.Player player) -
sendRecipeBookSettings
public void sendRecipeBookSettings(org.bukkit.entity.Player player) -
writeNamespacedKeyList
-
handlePlaceRecipe
public void handlePlaceRecipe(org.bukkit.entity.Player player, me.wolfyscript.utilities.api.nms.network.MCByteBuf byteBuf)
-