Rename to gtnewhorizons

This commit is contained in:
GTNH-Colen committed 2024-01-15 15:10:18 +00:00
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;
}
}