mirror of
https://github.com/GTNewHorizons/Postea.git
synced 2026-11-26 23:13:01 +00:00
Rename to gtnewhorizons
This commit is contained in:
1 parent
99c887e67e
commit
1f6f4605b1
16 files changed
+34
-36
No files matched your search
@@ -0,0 +1,25 @@
|
||||
package com.gtnewhorizons.postea.utility;
|
||||
|
||||
import java.util.function.Function;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
|
||||
public final class BlockInfo {
|
||||
|
||||
public final Block block;
|
||||
public final int metadata;
|
||||
public final Function<NBTTagCompound, NBTTagCompound> tileTransformer;
|
||||
|
||||
public BlockInfo(Block block, int metadata, Function<NBTTagCompound, NBTTagCompound> tileTransformer) {
|
||||
this.block = block;
|
||||
this.metadata = metadata;
|
||||
this.tileTransformer = tileTransformer;
|
||||
}
|
||||
|
||||
public BlockInfo(Block block, int metadata) {
|
||||
this.block = block;
|
||||
this.metadata = metadata;
|
||||
this.tileTransformer = null;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user