public class SchematicSyncPacket extends SimplePacketBase
| Modifier and Type | Field and Description |
|---|---|
net.minecraft.util.math.BlockPos |
anchor |
boolean |
deployed |
net.minecraft.util.Mirror |
mirror |
net.minecraft.util.Rotation |
rotation |
int |
slot |
| Constructor and Description |
|---|
SchematicSyncPacket(int slot,
net.minecraft.world.gen.feature.template.PlacementSettings settings,
net.minecraft.util.math.BlockPos anchor,
boolean deployed) |
SchematicSyncPacket(net.minecraft.network.PacketBuffer buffer) |
| Modifier and Type | Method and Description |
|---|---|
void |
handle(java.util.function.Supplier<net.minecraftforge.fml.network.NetworkEvent.Context> context) |
void |
write(net.minecraft.network.PacketBuffer buffer) |
public int slot
public boolean deployed
public net.minecraft.util.math.BlockPos anchor
public net.minecraft.util.Rotation rotation
public net.minecraft.util.Mirror mirror
public SchematicSyncPacket(int slot,
net.minecraft.world.gen.feature.template.PlacementSettings settings,
net.minecraft.util.math.BlockPos anchor,
boolean deployed)
public SchematicSyncPacket(net.minecraft.network.PacketBuffer buffer)
public void write(net.minecraft.network.PacketBuffer buffer)
write in class SimplePacketBasepublic void handle(java.util.function.Supplier<net.minecraftforge.fml.network.NetworkEvent.Context> context)
handle in class SimplePacketBase