fix block entity in polymer
This commit is contained in:
parent
2a6c9f26f9
commit
0e7095b30c
@ -70,7 +70,7 @@ public class HardDriveContainerBlock extends ConnectedBlock implements PolymerTe
|
|||||||
modId,
|
modId,
|
||||||
BlockEntityType.Builder.create(HardDriveContainerBlockEntity::new, HARD_DRIVE_CONTAINER_BLOCK).build(null)
|
BlockEntityType.Builder.create(HardDriveContainerBlockEntity::new, HARD_DRIVE_CONTAINER_BLOCK).build(null)
|
||||||
);
|
);
|
||||||
PolymerBlockUtils.registerBlockEntity(STORAGE_INTERFACE_BLOCK_ENTITY);
|
PolymerBlockUtils.registerBlockEntity(HARD_DRIVE_CONTAINER_BLOCK_ENTITY);
|
||||||
}
|
}
|
||||||
|
|
||||||
private static ActionResult onUse(PlayerEntity player, World world, Hand hand, BlockHitResult hitResult) {
|
private static ActionResult onUse(PlayerEntity player, World world, Hand hand, BlockHitResult hitResult) {
|
||||||
|
Loading…
Reference in New Issue
Block a user