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 TypeMethodDescriptionvoid
handlePlaceRecipe(org.bukkit.entity.Player player, me.wolfyscript.utilities.api.nms.network.MCByteBuf byteBuf)
void
void
sendRecipeBookSettings(org.bukkit.entity.Player player)
void
sendRecipes(org.bukkit.entity.Player player)
protected void
writeNamespacedKeyList(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)
-