-
Notifications
You must be signed in to change notification settings - Fork 11
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
Showing
16 changed files
with
34 additions
and
22 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
org.gradle.jvmargs=-Xmx3G | ||
org.gradle.daemon=false | ||
|
||
minecraft_version=1.19.2 | ||
minecraft_version=1.19.3 | ||
|
||
archives_base_name=bedrockores | ||
maven_group=li.cil.bedrockores | ||
|
||
forge_version=43.2.3 | ||
forge_version=44.1.0 | ||
|
||
# Set by build pipeline. | ||
semver=0.0.0 |
8 changes: 2 additions & 6 deletions
8
src/main/java/li/cil/bedrockores/client/render/BedrockOreModel.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
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
18 changes: 18 additions & 0 deletions
18
src/main/java/li/cil/bedrockores/common/item/ModCreativeModTabs.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,18 @@ | ||
package li.cil.bedrockores.common.item; | ||
|
||
import li.cil.bedrockores.common.config.Constants; | ||
import net.minecraft.world.item.CreativeModeTabs; | ||
import net.minecraftforge.api.distmarker.Dist; | ||
import net.minecraftforge.event.CreativeModeTabEvent; | ||
import net.minecraftforge.eventbus.api.SubscribeEvent; | ||
import net.minecraftforge.fml.common.Mod; | ||
|
||
@Mod.EventBusSubscriber(value = Dist.CLIENT, bus = Mod.EventBusSubscriber.Bus.MOD, modid = Constants.MOD_ID) | ||
public final class ModCreativeModTabs { | ||
@SubscribeEvent | ||
public static void handleCreativeTabEvent(final CreativeModeTabEvent.BuildContents event) { | ||
if (event.getTab() == CreativeModeTabs.FUNCTIONAL_BLOCKS) { | ||
event.accept(Items.BEDROCK_MINER.get()); | ||
} | ||
} | ||
} |
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
2 changes: 1 addition & 1 deletion
2
src/main/resources/assets/bedrockores/models/block/bedrock_ore_mask.json
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,7 +1,7 @@ | ||
{ | ||
"parent": "minecraft:block/cube_all", | ||
"textures": { | ||
"all": "bedrockores:blocks/bedrock_ore_mask" | ||
"all": "bedrockores:block/bedrock_ore_mask" | ||
}, | ||
"render_type": "minecraft:cutout" | ||
} |
2 changes: 1 addition & 1 deletion
2
src/main/resources/assets/bedrockores/models/block/bedrock_ore_mask_mirrored.json
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,7 +1,7 @@ | ||
{ | ||
"parent": "minecraft:block/cube_mirrored_all", | ||
"textures": { | ||
"all": "bedrockores:blocks/bedrock_ore_mask" | ||
"all": "bedrockores:block/bedrock_ore_mask" | ||
}, | ||
"render_type": "minecraft:cutout" | ||
} |
File renamed without changes
File renamed without changes
File renamed without changes
Binary file added
BIN
+1.97 KB
src/main/resources/assets/bedrockores/textures/block/bedrock_ore_mask.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed
BIN
-231 Bytes
src/main/resources/assets/bedrockores/textures/blocks/bedrock_ore_mask.png
Binary file not shown.