Class SpellPropertiesSyncS2C
java.lang.Object
com.binaris.wizardry.core.networking.s2c.SpellPropertiesSyncS2C
- All Implemented Interfaces:
Message
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final net.minecraft.resources.ResourceLocationfinal Map<net.minecraft.resources.ResourceLocation,SpellProperties> -
Constructor Summary
ConstructorsConstructorDescriptionSpellPropertiesSyncS2C(Map<net.minecraft.resources.ResourceLocation, SpellProperties> spellPropertiesMap) SpellPropertiesSyncS2C(net.minecraft.network.FriendlyByteBuf buf) -
Method Summary
Modifier and TypeMethodDescriptionvoidencode(net.minecraft.network.FriendlyByteBuf buf) net.minecraft.resources.ResourceLocationgetId()Map<net.minecraft.resources.ResourceLocation,SpellProperties> voidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.binaris.wizardry.core.networking.abst.Message
handleServer
-
Field Details
-
ID
public static final net.minecraft.resources.ResourceLocation ID -
propertiesMap
-
-
Constructor Details
-
SpellPropertiesSyncS2C
public SpellPropertiesSyncS2C(Map<net.minecraft.resources.ResourceLocation, SpellProperties> spellPropertiesMap) -
SpellPropertiesSyncS2C
public SpellPropertiesSyncS2C(net.minecraft.network.FriendlyByteBuf buf)
-
-
Method Details
-
encode
public void encode(net.minecraft.network.FriendlyByteBuf buf) -
handleClient
public void handleClient()- Specified by:
handleClientin interfaceMessage
-
getPropertiesMap
-
getId
public net.minecraft.resources.ResourceLocation getId()
-