-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fbe2c09
commit 1eb6331
Showing
8 changed files
with
59 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38 changes: 38 additions & 0 deletions
38
src/main/java/net/zepalesque/zenith/api/blockset/AbstractStoneSet.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
package net.zepalesque.zenith.api.blockset; | ||
|
||
import net.minecraft.world.level.block.Block; | ||
import net.minecraft.world.level.block.SoundType; | ||
import net.minecraft.world.level.material.MapColor; | ||
import net.neoforged.neoforge.registries.DeferredBlock; | ||
import net.neoforged.neoforge.registries.DeferredRegister; | ||
import net.zepalesque.zenith.api.blockset.util.CraftingMatrix; | ||
|
||
import java.util.function.Supplier; | ||
|
||
public abstract class AbstractStoneSet implements BlockSet { | ||
|
||
protected abstract DeferredBlock<?> baseBlock(DeferredRegister.Blocks registry, String id, MapColor color, SoundType soundType); | ||
public abstract DeferredBlock<?> baseBlock(); | ||
|
||
protected abstract DeferredBlock<?> wallBlock(DeferredRegister.Blocks registry, String id, MapColor color, SoundType soundType); | ||
public abstract DeferredBlock<?> wallBlock(); | ||
|
||
protected abstract DeferredBlock<?> stairsBlock(DeferredRegister.Blocks registry, String id, MapColor color, SoundType soundType); | ||
public abstract DeferredBlock<?> stairsBlock(); | ||
|
||
protected abstract DeferredBlock<?> slabBlock(DeferredRegister.Blocks registry, String id, MapColor color, SoundType soundType); | ||
public abstract DeferredBlock<?> slabBlock(); | ||
|
||
protected abstract void craftsInto(AbstractStoneSet set, CraftingMatrix shape); | ||
|
||
protected abstract void craftsInto(Supplier<Block> block, CraftingMatrix shape); | ||
|
||
protected abstract void stonecutInto(AbstractStoneSet set); | ||
|
||
protected abstract void stonecutInto(Supplier<Block> block); | ||
|
||
protected abstract void smeltsInto(AbstractStoneSet set, float experience); | ||
|
||
protected abstract void smeltsInto(Supplier<Block> block, float experience); | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 0 additions & 34 deletions
34
src/main/java/net/zepalesque/zenith/api/blockset/BaseStoneSet.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters