Class LogicProgrammerValueTypeIngredientsValueChangedPacket

java.lang.Object
org.cyclops.cyclopscore.network.PacketBase
org.cyclops.cyclopscore.network.PacketCodec
org.cyclops.integrateddynamics.network.packet.LogicProgrammerValueTypeIngredientsValueChangedPacket

public class LogicProgrammerValueTypeIngredientsValueChangedPacket extends org.cyclops.cyclopscore.network.PacketCodec
Packet for sending a button packet for a change in current ingredients value.
  • Constructor Details

    • LogicProgrammerValueTypeIngredientsValueChangedPacket

      public LogicProgrammerValueTypeIngredientsValueChangedPacket()
    • LogicProgrammerValueTypeIngredientsValueChangedPacket

      public LogicProgrammerValueTypeIngredientsValueChangedPacket(ValueObjectTypeIngredients.ValueIngredients value)
  • Method Details

    • getValue

      protected ValueObjectTypeIngredients.ValueIngredients getValue(net.minecraft.world.level.Level level)
    • isAsync

      public boolean isAsync()
      Specified by:
      isAsync in class org.cyclops.cyclopscore.network.PacketBase
    • actionClient

      public void actionClient(net.minecraft.world.level.Level world, net.minecraft.world.entity.player.Player player)
      Specified by:
      actionClient in class org.cyclops.cyclopscore.network.PacketBase
    • actionServer

      public void actionServer(net.minecraft.world.level.Level world, net.minecraft.server.level.ServerPlayer player)
      Specified by:
      actionServer in class org.cyclops.cyclopscore.network.PacketBase