mirror of
https://github.com/GTNewHorizons/Chisel.git
synced 2026-11-26 23:23:15 +00:00
Rewrite how Carving stores variants and groups
This commit is contained in:
1 parent
155bc00f0e
commit
447e472c04
10 files changed
+327
-119
No files matched your search
@@ -3,6 +3,7 @@ package com.cricketcraft.chisel.network.message;
|
||||
import io.netty.buffer.ByteBuf;
|
||||
import net.minecraft.block.Block;
|
||||
|
||||
import com.cricketcraft.chisel.api.carving.ICarvingVariation;
|
||||
import com.cricketcraft.chisel.carving.CarvingVariation;
|
||||
import com.cricketcraft.chisel.client.GeneralChiselClient;
|
||||
import com.cricketcraft.chisel.item.chisel.ItemChisel;
|
||||
@@ -21,7 +22,7 @@ public class MessageChiselSound extends MessageCoords {
|
||||
private int block;
|
||||
private byte meta;
|
||||
|
||||
public MessageChiselSound(int x, int y, int z, CarvingVariation v) {
|
||||
public MessageChiselSound(int x, int y, int z, ICarvingVariation v) {
|
||||
super(x, y, z);
|
||||
this.block = Block.getIdFromBlock(v.getBlock());
|
||||
this.meta = (byte) v.getBlockMeta();
|
||||
|
||||
Reference in new issue
Block a user