Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions src/main/java/dev/anvilcraft/lite/init/block/ModBlocks.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,28 @@

public class ModBlocks {
public static final DeferredBlock<ResinBlock> RESIN_BLOCK = REGISTER.block("resin_block", ResinBlock::new)
.properties(() -> Blocks.SLIME_BLOCK).lang("Block of Resin")
.properties(() -> Blocks.SLIME_BLOCK)
.lang("Block of Resin")
.register();

public static final DeferredBlock<MagnetBlock> MAGNET_BLOCK = REGISTER.block("magnet_block", MagnetBlock::new)
.properties(() -> Blocks.IRON_BLOCK)
.lang("Block of Magnet")
.register();

public static final DeferredBlock<HollowMagnetBlock> HOLLOW_MAGNET_BLOCK = REGISTER.block("hollow_magnet_block", HollowMagnetBlock::new)
.properties(() -> Blocks.IRON_BLOCK)
.lang("Hollowed Block of Magnet")
.register();

public static final DeferredBlock<FerriteCoreMagnetBlock> FERRITE_CORE_MAGNET_BLOCK = REGISTER.block(
"ferrite_core_magnet_block",
FerriteCoreMagnetBlock::new
).properties(BlockBehaviour.Properties::randomTicks).lang("Ferrite-Cored Block of Magnet").register();
)
.properties(() -> Blocks.IRON_BLOCK)
.properties(BlockBehaviour.Properties::randomTicks)
.lang("Ferrite-Cored Block of Magnet")
.register();

public static void init() {
}
Expand Down
Loading