mirror of
https://github.com/GTNewHorizons/Electro-Magic-Tools.git
synced 2026-11-25 14:24:40 +00:00
991 files modified. GG ME. Still not done though
This is the first commit of the rewrite. A lot has been done, but it's not over.
This commit is contained in:
1 parent
621fb17840
commit
766aa180ae
569 files changed
+4065
-6321
No files matched your search
@@ -0,0 +1,37 @@
|
||||
package ic2.api.event;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import cpw.mods.fml.common.eventhandler.Cancelable;
|
||||
|
||||
import net.minecraftforge.event.world.WorldEvent;
|
||||
|
||||
@Cancelable
|
||||
public class RetextureEvent extends WorldEvent {
|
||||
// target block
|
||||
public final int x;
|
||||
public final int y;
|
||||
public final int z;
|
||||
public final int side;
|
||||
|
||||
// referenced block (to grab the texture from)
|
||||
public final Block referencedBlock;
|
||||
public final int referencedMeta;
|
||||
public final int referencedSide;
|
||||
|
||||
// set to true to confirm the operation
|
||||
public boolean applied = false;
|
||||
|
||||
public RetextureEvent(World world1, int x1, int y1, int z1, int side1, Block referencedBlock, int referencedMeta1, int referencedSide1) {
|
||||
super(world1);
|
||||
|
||||
this.x = x1;
|
||||
this.y = y1;
|
||||
this.z = z1;
|
||||
this.side = side1;
|
||||
this.referencedBlock = referencedBlock;
|
||||
this.referencedMeta = referencedMeta1;
|
||||
this.referencedSide = referencedSide1;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user