mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-22 23:28:35 +01:00
fixed a mapping change error.
This commit is contained in:
parent
87bc236287
commit
148d05a27d
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ public class AABlockReg<B extends Block, I extends Item, T extends TileEntity> i
|
||||||
this.name = name;
|
this.name = name;
|
||||||
this.block = ActuallyBlocks.BLOCKS.register(name, blockSupplier);
|
this.block = ActuallyBlocks.BLOCKS.register(name, blockSupplier);
|
||||||
this.item = ActuallyItems.ITEMS.register(name, () -> itemSupplier.apply(block.get()));
|
this.item = ActuallyItems.ITEMS.register(name, () -> itemSupplier.apply(block.get()));
|
||||||
this.tileEntityType = ActuallyBlocks.TILES.register(name, () -> TileEntityType.Builder.create(tileSupplier, block.get()).build(null));
|
this.tileEntityType = ActuallyBlocks.TILES.register(name, () -> TileEntityType.Builder.of(tileSupplier, block.get()).build(null));
|
||||||
}
|
}
|
||||||
public AABlockReg(String name, Supplier<B> blockSupplier, Function<B, I> itemSupplier) {
|
public AABlockReg(String name, Supplier<B> blockSupplier, Function<B, I> itemSupplier) {
|
||||||
this.name = name;
|
this.name = name;
|
||||||
|
|
Loading…
Reference in a new issue