mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-18 11:19:19 +00:00
Begin block flattening. First victims: livingwood and livingrock
This commit is contained in:
1 parent
a9e1615ab6
commit
ea41348ded
15 files changed
+121
-410
No files matched your search
@@ -0,0 +1,22 @@
|
||||
package vazkii.botania.common.block;
|
||||
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.util.math.BlockPos;
|
||||
import net.minecraft.world.World;
|
||||
import vazkii.botania.api.lexicon.ILexiconable;
|
||||
import vazkii.botania.api.lexicon.LexiconEntry;
|
||||
|
||||
public class BlockModLexiconable extends BlockMod implements ILexiconable {
|
||||
private final ILexiconable delegate;
|
||||
|
||||
public BlockModLexiconable(Builder builder, ILexiconable delegate) {
|
||||
super(builder);
|
||||
this.delegate = delegate;
|
||||
}
|
||||
|
||||
@Override
|
||||
public LexiconEntry getEntry(World world, BlockPos pos, EntityPlayer player, ItemStack lexicon) {
|
||||
return delegate.getEntry(world, pos, player, lexicon);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user