mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-12-22 19:39:24 +01:00
Folder migration
This commit is contained in:
parent
4ea1fb313a
commit
f98b246f44
852 changed files with 45 additions and 3 deletions
|
@ -373,13 +373,13 @@ public class ActuallyBlocks {
|
|||
// = BLOCKS.register();("wild_block", WildPlantBlock::new);
|
||||
|
||||
public static final RegistryObject<Block> blockQuartzWall
|
||||
= BLOCKS.register("quartz_wall_block", () -> new WallBlock(Block.Properties.create(Material.ROCK)));
|
||||
= BLOCKS.register("quartz_wall_block", () -> new WallBlock(AbstractBlock.Properties.from(BLACK_QUARTS.get())));
|
||||
|
||||
public static final RegistryObject<Block> blockChiseledQuartzWall
|
||||
= BLOCKS.register("chiseled_quartz_wall_block", () -> new WallBlock(Block.Properties.create(Material.ROCK)));
|
||||
= BLOCKS.register("chiseled_quartz_wall_block", () -> new WallBlock(AbstractBlock.Properties.from(BLACK_QUARTS_CHISELED.get())));
|
||||
|
||||
public static final RegistryObject<Block> blockPillarQuartzWall
|
||||
= BLOCKS.register("pillar_quartz_wall_block", () -> new WallBlock(Block.Properties.create(Material.ROCK)));
|
||||
= BLOCKS.register("pillar_quartz_wall_block", () -> new WallBlock(AbstractBlock.Properties.from(BLACK_QUARTS_PILLAR.get())));
|
||||
|
||||
public static final RegistryObject<Block> blockQuartzStair
|
||||
= BLOCKS.register("quartz_stair_block", () -> new StairsBlock(() -> blockBlackLotus.get().getDefaultState(), Block.Properties.create(Material.ROCK)));
|
||||
|
|
|
@ -0,0 +1,21 @@
|
|||
package de.ellpeck.actuallyadditions.common.blocks;
|
||||
|
||||
import de.ellpeck.actuallyadditions.common.ActuallyAdditions;
|
||||
import net.minecraft.item.BlockItem;
|
||||
import net.minecraft.item.Item;
|
||||
|
||||
public class FenceBlock extends net.minecraft.block.FenceBlock implements IActuallyBlock {
|
||||
public FenceBlock(Properties properties) {
|
||||
super(properties);
|
||||
}
|
||||
|
||||
@Override
|
||||
public BlockItem createBlockItem() {
|
||||
return new BlockItem(this, this.getItemProperties());
|
||||
}
|
||||
|
||||
@Override
|
||||
public Item.Properties getItemProperties() {
|
||||
return new Item.Properties().group(ActuallyAdditions.ACTUALLY_GROUP);
|
||||
}
|
||||
}
|
|
@ -0,0 +1,21 @@
|
|||
package de.ellpeck.actuallyadditions.common.blocks;
|
||||
|
||||
import de.ellpeck.actuallyadditions.common.ActuallyAdditions;
|
||||
import net.minecraft.item.BlockItem;
|
||||
import net.minecraft.item.Item;
|
||||
|
||||
public class WallBlock extends net.minecraft.block.WallBlock implements IActuallyBlock {
|
||||
public WallBlock(Properties properties) {
|
||||
super(properties);
|
||||
}
|
||||
|
||||
@Override
|
||||
public BlockItem createBlockItem() {
|
||||
return new BlockItem(this, this.getItemProperties());
|
||||
}
|
||||
|
||||
@Override
|
||||
public Item.Properties getItemProperties() {
|
||||
return new Item.Properties().group(ActuallyAdditions.ACTUALLY_GROUP);
|
||||
}
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue