Class OpenDecoBuildWindowMessage

java.lang.Object
com.ldtteam.common.network.AbstractClientPlayMessage
com.minecolonies.core.network.messages.client.OpenBuildWindowMessage
com.minecolonies.core.network.messages.client.OpenDecoBuildWindowMessage
All Implemented Interfaces:
com.ldtteam.common.network.IClientboundDistributor, net.minecraft.network.protocol.common.custom.CustomPacketPayload

public class OpenDecoBuildWindowMessage extends OpenBuildWindowMessage
Message to open the deco build window on the client.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface net.minecraft.network.protocol.common.custom.CustomPacketPayload

    net.minecraft.network.protocol.common.custom.CustomPacketPayload.FallbackProvider<B extends net.minecraft.network.FriendlyByteBuf>, net.minecraft.network.protocol.common.custom.CustomPacketPayload.Type<T extends net.minecraft.network.protocol.common.custom.CustomPacketPayload>, net.minecraft.network.protocol.common.custom.CustomPacketPayload.TypeAndCodec<B extends net.minecraft.network.FriendlyByteBuf,T extends net.minecraft.network.protocol.common.custom.CustomPacketPayload>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final com.ldtteam.common.network.PlayMessageType<?>
     

    Fields inherited from class com.minecolonies.core.network.messages.client.OpenBuildWindowMessage

    packName, path, pos, rotationMirror
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
     
    OpenDecoBuildWindowMessage(net.minecraft.core.BlockPos pos, String packName, String path, com.ldtteam.structurize.api.RotationMirror rotationMirror)
    Create a new message.
    protected
    OpenDecoBuildWindowMessage(net.minecraft.network.RegistryFriendlyByteBuf buf, com.ldtteam.common.network.PlayMessageType<?> type)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.ldtteam.common.network.AbstractServerPlayMessage
    createWorkOrderMessage(net.minecraft.core.BlockPos builder)
     
    net.minecraft.network.protocol.common.custom.CustomPacketPayload.Type<?>
     

    Methods inherited from class com.minecolonies.core.network.messages.client.OpenBuildWindowMessage

    onExecute, toBytes

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface net.minecraft.network.protocol.common.custom.CustomPacketPayload

    toVanillaClientbound, toVanillaServerbound, type

    Methods inherited from interface com.ldtteam.common.network.IClientboundDistributor

    sendToAllClients, sendToDimension, sendToPlayer, sendToPlayer, sendToPlayersTrackingChunk, sendToPlayersTrackingChunk, sendToTargetPoint, sendToTrackingEntity, sendToTrackingEntityAndSelf
  • Field Details

    • TYPE

      public static final com.ldtteam.common.network.PlayMessageType<?> TYPE
  • Constructor Details

    • OpenDecoBuildWindowMessage

      public OpenDecoBuildWindowMessage(net.minecraft.core.BlockPos pos, String packName, String path, com.ldtteam.structurize.api.RotationMirror rotationMirror)
      Create a new message.
      Parameters:
      pos - the position the deco will be anchored at.
      packName - the pack of the deco.
      path - the path in the pack.
    • OpenDecoBuildWindowMessage

      protected OpenDecoBuildWindowMessage(net.minecraft.network.RegistryFriendlyByteBuf buf, com.ldtteam.common.network.PlayMessageType<?> type)
  • Method Details

    • createWorkOrderMessage

      public com.ldtteam.common.network.AbstractServerPlayMessage createWorkOrderMessage(net.minecraft.core.BlockPos builder)
      Specified by:
      createWorkOrderMessage in class OpenBuildWindowMessage
    • type

      public net.minecraft.network.protocol.common.custom.CustomPacketPayload.Type<?> type()
      Specified by:
      type in interface net.minecraft.network.protocol.common.custom.CustomPacketPayload