-
Notifications
You must be signed in to change notification settings - Fork 288
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New color provider system that's more side-safe
- Loading branch information
Showing
35 changed files
with
528 additions
and
235 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
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
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
15 changes: 13 additions & 2 deletions
15
src/main/java/vazkii/quark/content/building/block/MyalitePillarBlock.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 |
---|---|---|
@@ -1,14 +1,25 @@ | ||
package vazkii.quark.content.building.block; | ||
|
||
import net.minecraft.world.item.CreativeModeTab; | ||
import org.jetbrains.annotations.Nullable; | ||
import vazkii.quark.base.block.QuarkPillarBlock; | ||
import vazkii.zeta.module.ZetaModule; | ||
import vazkii.quark.content.world.block.IMyaliteColorProvider; | ||
import vazkii.zeta.registry.IZetaBlockColorProvider; | ||
|
||
public class MyalitePillarBlock extends QuarkPillarBlock implements IMyaliteColorProvider { | ||
public class MyalitePillarBlock extends QuarkPillarBlock implements IZetaBlockColorProvider { | ||
|
||
public MyalitePillarBlock(String regname, ZetaModule module, CreativeModeTab creativeTab, Properties properties) { | ||
super(regname, module, creativeTab, properties); | ||
} | ||
|
||
@Override | ||
public @Nullable String getBlockColorProviderName() { | ||
return "myalite"; | ||
} | ||
|
||
@Override | ||
public @Nullable String getItemColorProviderName() { | ||
return "myalite"; | ||
} | ||
|
||
} |
Oops, something went wrong.