7 Commits

Author SHA1 Message Date
RyanTLG
6d37a1e3ff Update CHANGELOG 2022-05-07 17:16:37 +02:00
RyanTLG
9b7b950f9a fixed dumb shit 2022-05-07 17:15:16 +02:00
RyanTLG
555113e04e update name
FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU
2022-05-01 14:42:02 +02:00
RyanTLG
714a636a83 Update CHANGELOG 2022-04-30 14:41:46 +02:00
RyanTLG
b00f4a96fa port gamer bow to 1.18.2 2022-04-30 14:40:45 +02:00
RyanTLG
95cf937175 Update to stable
for all i care this shit looks stable to me
2022-04-29 23:22:54 +02:00
RyanTLG
ceb4174a80 Update to 1.18.2
changed dependencies for update to 1.18.2
still have "errors" in code, not sure how to fix
ore gen works perfectly (checked) even with errors
created CHANGELOG file for version branch
still have crippling depression
2022-04-29 23:17:08 +02:00
326 changed files with 9418 additions and 803 deletions

File diff suppressed because it is too large Load Diff

18
CHANGELOG Normal file
View File

@@ -0,0 +1,18 @@
# Changes:
## 1.18.2-0.1.0-unstable
- changed dependencies for update to 1.18.2
- still have "errors" in code, not sure how to fix
- ore gen works perfectly (checked) even with errors
- created CHANGELOG file for version branch
- have crippling depression
- man, updating is a bitch
## 1.18.2-1.0.0-stable
- for all i care this shit looks stable to me
## 1.18.2-1.1.0-stable
- ported gamer bow to 1.18.2
## 1.18.2-1.1.1-unstable
- fixed weem stacking to 85 (maybe)
- nerfed high effect

View File

@@ -1,4 +1,4 @@
GamerMod, for gamers, by gæmer
GamerItems, for gamers, by gæmer
Copyright (C) RyanTLG
Copyright (C) ARCMods team and contributors

View File

@@ -1,8 +1,8 @@
==========================
GamerMod License
GamerItems License
==========================
GamerMod as a whole in lisenced under:
GamerItems as a whole in lisenced under:
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007

View File

@@ -1,20 +1,20 @@
# GamerMod
# GamerItems
<p align="center">
<a title="Fabric API" href="https://minecraft.curseforge.com/projects/fabric-api" target="_blank" rel="noopener noreferrer"><img style="display: block; margin-left: auto; margin-right: auto;" src="https://i.imgur.com/Ol1Tcf8.png" alt="" width="150" height="50" /></a>
</p>
<p align="center">
<a href="http://forthebadge.com/"><img src="https://github.com/RyanTLG/GamerMod/blob/1-18-1/unstable/badges/epic-gaming.svg" alt="epicgaming"/></a>
<a href="http://forthebadge.com/"><img src="https://github.com/RyanTLG/GamerMod/blob/1-18-1/unstable/badges/i-have-severe-depression.svg" alt="epicgaming"/></a>
<a href="http://forthebadge.com/"><img src="https://github.com/RyanTLG/GamerItems/blob/1-18-1/unstable/badges/epic-gaming.svg" alt="epicgaming"/></a>
<a href="http://forthebadge.com/"><img src="https://github.com/RyanTLG/GamerItems/blob/1-18-1/unstable/badges/i-have-severe-depression.svg" alt="epicgaming"/></a>
</p>
<p align="center">
<a href="http://forthebadge.com/"><img src="https://github.com/RyanTLG/GamerMod/blob/1-18-1/unstable/badges/i-want-die.svg" alt="epicgaming"/></a>
<a href="http://forthebadge.com/"><img src="https://github.com/RyanTLG/GamerItems/blob/1-18-1/unstable/badges/i-want-die.svg" alt="epicgaming"/></a>
</p>
<p align="center">
<a href="http://forthebadge.com/"><img src="https://img.shields.io/badge/modloader-Fabric-1976d2?style=flat-square&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoV2luZG93cykiIHhtcDpDcmVhdGVEYXRlPSIyMDE4LTEyLTE2VDE2OjU0OjE3LTA4OjAwIiB4bXA6TW9kaWZ5RGF0ZT0iMjAxOS0wNy0yOFQyMToxNzo0OC0wNzowMCIgeG1wOk1ldGFkYXRhRGF0ZT0iMjAxOS0wNy0yOFQyMToxNzo0OC0wNzowMCIgZGM6Zm9ybWF0PSJpbWFnZS9wbmciIHBob3Rvc2hvcDpDb2xvck1vZGU9IjMiIHBob3Rvc2hvcDpJQ0NQcm9maWxlPSJzUkdCIElFQzYxOTY2LTIuMSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDowZWRiMWMyYy1mZjhjLWU0NDEtOTMxZi00OTVkNGYxNGM3NjAiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MGVkYjFjMmMtZmY4Yy1lNDQxLTkzMWYtNDk1ZDRmMTRjNzYwIiB4bXBNTTpPcmlnaW5hbERvY3VtZW50SUQ9InhtcC5kaWQ6MGVkYjFjMmMtZmY4Yy1lNDQxLTkzMWYtNDk1ZDRmMTRjNzYwIj4gPHhtcE1NOkhpc3Rvcnk+IDxyZGY6U2VxPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0iY3JlYXRlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDowZWRiMWMyYy1mZjhjLWU0NDEtOTMxZi00OTVkNGYxNGM3NjAiIHN0RXZ0OndoZW49IjIwMTgtMTItMTZUMTY6NTQ6MTctMDg6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE4IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz4/HiGMAAAAtUlEQVRYw+XXrQqAMBQF4D2P2eBL+QIG8RnEJFaNBjEum+0+zMQLtwwv+wV3ZzhhMDgfJ0wUSinxZUQWgKos1JP/AbD4OneIDyQPwCFniA+EJ4CaXm4TxAXCC0BNHgLhAdAnx9hC8PwGSRtAFVMQjF7cNTWED8B1cgwW20yfJgAvrssAsZ1cB3g/xckAxr6FmCDU5N6f488BrpCQ4rQBJkiMYh4ACmLzwOQF0CExinkCsvw7vgGikl+OotaKRwAAAABJRU5ErkJggg==" alt="epicgaming"/></a>
</p>
GamerMod is a simple mod that adds a few ores and a few other items to minecraft via the Fabric modloader and Fabric API
GamerItems is a simple mod that adds a few ores and a few other items to minecraft via the Fabric modloader and Fabric API
### Modpack usage
@@ -22,8 +22,8 @@ You want to use it in a modpack? Sure! Just remember to credit me or the ARCMods
### Issues
If you find an issue or bug in the mod or just have a general suggestion you can write it [here](https://github.com/RyanTLG/GamerMod/issues)
If you find an issue or bug in the mod or just have a general suggestion you can write it [here](https://github.com/RyanTLG/GamerItems/issues)
### AAAAAAAAAAAAAAAa
[aaaaAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA](https://github.com/RyanTLG/GamerMod/blob/1-18-1/unstable/AAAAAAAAAAAAAAAa)
[aaaaAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA](https://github.com/RyanTLG/GamerItems/blob/1-18-1/unstable/AAAAAAAAAAAAAAAa)

BIN
badges/poweredbyelec.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

View File

@@ -1,5 +1,5 @@
plugins {
id 'fabric-loom' version '0.10-SNAPSHOT'
id 'fabric-loom' version '0.11-SNAPSHOT'
id 'maven-publish'
}
@@ -16,7 +16,6 @@ repositories {
// Loom adds the essential maven repositories to download Minecraft and libraries from automatically.
// See https://docs.gradle.org/current/userguide/declaring_repositories.html
// for more information about repositories.
allprojects { repositories { maven { url 'https://jitpack.io' } } }
}
dependencies {
@@ -71,7 +70,7 @@ publishing {
repositories {
maven {
name = "GitHubPackages"
url = "https://maven.pkg.github.com/RyanTLG/gamermod"
url = "https://maven.pkg.github.com/RyanTLG/gameritems"
credentials {
username = System.getenv("UNAME")
password = System.getenv("TOKEN")

View File

@@ -3,14 +3,14 @@ org.gradle.jvmargs=-Xmx6G
# Fabric Properties
# check these on https://fabricmc.net/develop
minecraft_version=1.18.1
yarn_mappings=1.18.1+build.1
loader_version=0.12.12
minecraft_version=1.18.2
yarn_mappings=1.18.2+build.3
loader_version=0.13.2
# Mod Properties
mod_version = 1.18.1-1.0.0-stable
maven_group = ryantlg.GamerMod.mod
archives_base_name = GamerMod
mod_version = 1.18.2-1.1.1-unstable
maven_group = ryantlg.GamerItems.mod
archives_base_name = GamerItems
# Dependencies
fabric_version=0.46.0+1.18
fabric_version=0.51.1+1.18.2

View File

@@ -1,10 +1,10 @@
package net.arcmods.ryantlg;
import net.fabricmc.fabric.api.tag.TagFactory;
import net.minecraft.block.Block;
import net.minecraft.tag.Tag;
import net.minecraft.tag.TagKey;
import net.minecraft.util.Identifier;
import net.minecraft.util.registry.Registry;
public class BlockTags {
public static final Tag<Block> ORES = TagFactory.BLOCK.create(new Identifier("gamermod", "ores"));
public static final TagKey<Block> ORES = TagKey.of(Registry.BLOCK_KEY, new Identifier("gameritems", "ores"));
}

View File

@@ -17,8 +17,8 @@ public class jeremiumBlock extends Block{
}
@Override
public void appendTooltip(ItemStack itemStack, BlockView world, List<Text> tooltip, TooltipContext tooltipContext) {
tooltip.add( new TranslatableText("block.gamermod.jeremium.tooltip").formatted(Formatting.LIGHT_PURPLE, Formatting.ITALIC) );
tooltip.add( new TranslatableText("all.gamermod.jeremium.tooltiptwo").formatted(Formatting.LIGHT_PURPLE, Formatting.ITALIC) );
tooltip.add( new TranslatableText("block.gameritems.jeremium.tooltip").formatted(Formatting.LIGHT_PURPLE, Formatting.ITALIC) );
tooltip.add( new TranslatableText("all.gameritems.jeremium.tooltiptwo").formatted(Formatting.LIGHT_PURPLE, Formatting.ITALIC) );
}
}

View File

@@ -17,6 +17,6 @@ public class oriumBlock extends Block{
}
@Override
public void appendTooltip(ItemStack itemStack, BlockView world, List<Text> tooltip, TooltipContext tooltipContext) {
tooltip.add( new TranslatableText("block.gamermod.orium.tooltip").formatted(Formatting.LIGHT_PURPLE, Formatting.ITALIC) );
tooltip.add( new TranslatableText("block.gameritems.orium.tooltip").formatted(Formatting.LIGHT_PURPLE, Formatting.ITALIC) );
}
}

View File

@@ -1,6 +1,6 @@
package net.arcmods.ryantlg.blocks;
import net.arcmods.ryantlg.gamermod;
import net.arcmods.ryantlg.gameritems;
import net.arcmods.ryantlg.blockClasses.WeemCropBlock;
import net.minecraft.block.AbstractBlock;
import net.minecraft.block.CropBlock;
@@ -14,8 +14,8 @@ public class CropBlocks {
public static void register() {
Registry.register(Registry.BLOCK, new Identifier("gamermod","weem_crop_block"), WEEM_CROP_BLOCK);
Registry.register(Registry.BLOCK, new Identifier("gameritems","weem_crop_block"), WEEM_CROP_BLOCK);
gamermod.LOGGER.info("CropBlocks loaded");
gameritems.LOGGER.info("CropBlocks loaded");
}
}

View File

@@ -1,6 +1,6 @@
package net.arcmods.ryantlg.blocks;
import net.arcmods.ryantlg.gamermod;
import net.arcmods.ryantlg.gameritems;
import net.arcmods.ryantlg.blockClasses.Damon;
import net.arcmods.ryantlg.blockClasses.elon;
import net.fabricmc.fabric.api.item.v1.FabricItemSettings;
@@ -17,12 +17,12 @@ public class FunnyBlocks {
public static void register() {
Registry.register(Registry.BLOCK, new Identifier("gamermod", "matt_damon"), MATT_DAMON);
Registry.register(Registry.ITEM, new Identifier("gamermod", "matt_damon"), new BlockItem(MATT_DAMON, new FabricItemSettings().group(gamermod.FNUTS)));
Registry.register(Registry.BLOCK, new Identifier("gameritems", "matt_damon"), MATT_DAMON);
Registry.register(Registry.ITEM, new Identifier("gameritems", "matt_damon"), new BlockItem(MATT_DAMON, new FabricItemSettings().group(gameritems.FNUTS)));
Registry.register(Registry.BLOCK, new Identifier("gamermod", "elon_musk"), ELON_MUSK);
Registry.register(Registry.ITEM, new Identifier("gamermod", "elon_musk"), new BlockItem(ELON_MUSK, new FabricItemSettings().group(gamermod.FNUTS)));
Registry.register(Registry.BLOCK, new Identifier("gameritems", "elon_musk"), ELON_MUSK);
Registry.register(Registry.ITEM, new Identifier("gameritems", "elon_musk"), new BlockItem(ELON_MUSK, new FabricItemSettings().group(gameritems.FNUTS)));
gamermod.LOGGER.info("FunnyBlocks loaded");
gameritems.LOGGER.info("FunnyBlocks loaded");
}
}

View File

@@ -1,6 +1,6 @@
package net.arcmods.ryantlg.blocks;
import net.arcmods.ryantlg.gamermod;
import net.arcmods.ryantlg.gameritems;
import net.arcmods.ryantlg.blockClasses.jeremiumBlock;
import net.fabricmc.fabric.api.item.v1.FabricItemSettings;
import net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings;
@@ -18,16 +18,16 @@ public class jeremiumBlocks {
public static final Block DEEPSLATE_JEREMIUM_ORE = new jeremiumBlock(FabricBlockSettings.of(Material.STONE).strength(4.0f).requiresTool().luminance(5).sounds(BlockSoundGroup.DEEPSLATE));
public static void register() {
Registry.register(Registry.BLOCK, new Identifier("gamermod", "jeremium_ore"), JEREMIUM_ORE);
Registry.register(Registry.ITEM, new Identifier("gamermod", "jeremium_ore"), new BlockItem(JEREMIUM_ORE, new FabricItemSettings().group(gamermod.CHING).fireproof().maxCount(56)));
Registry.register(Registry.BLOCK, new Identifier("gameritems", "jeremium_ore"), JEREMIUM_ORE);
Registry.register(Registry.ITEM, new Identifier("gameritems", "jeremium_ore"), new BlockItem(JEREMIUM_ORE, new FabricItemSettings().group(gameritems.CHING).fireproof().maxCount(56)));
Registry.register(Registry.BLOCK, new Identifier("gamermod", "deepslate_jeremium_ore"), DEEPSLATE_JEREMIUM_ORE);
Registry.register(Registry.ITEM, new Identifier("gamermod", "deepslate_jeremium_ore"), new BlockItem(DEEPSLATE_JEREMIUM_ORE, new FabricItemSettings().group(gamermod.CHING).fireproof().maxCount(56)));
Registry.register(Registry.BLOCK, new Identifier("gameritems", "deepslate_jeremium_ore"), DEEPSLATE_JEREMIUM_ORE);
Registry.register(Registry.ITEM, new Identifier("gameritems", "deepslate_jeremium_ore"), new BlockItem(DEEPSLATE_JEREMIUM_ORE, new FabricItemSettings().group(gameritems.CHING).fireproof().maxCount(56)));
Registry.register(Registry.BLOCK, new Identifier("gamermod", "jeremium_block"), JEREMIUM_BLOCK);
Registry.register(Registry.ITEM, new Identifier("gamermod", "jeremium_block"), new BlockItem(JEREMIUM_BLOCK, new FabricItemSettings().group(gamermod.CHING).fireproof().maxCount(56)));
Registry.register(Registry.BLOCK, new Identifier("gameritems", "jeremium_block"), JEREMIUM_BLOCK);
Registry.register(Registry.ITEM, new Identifier("gameritems", "jeremium_block"), new BlockItem(JEREMIUM_BLOCK, new FabricItemSettings().group(gameritems.CHING).fireproof().maxCount(56)));
gamermod.LOGGER.info("jeremiumBlocks loaded");
gameritems.LOGGER.info("jeremiumBlocks loaded");
}
}

View File

@@ -1,6 +1,6 @@
package net.arcmods.ryantlg.blocks;
import net.arcmods.ryantlg.gamermod;
import net.arcmods.ryantlg.gameritems;
import net.fabricmc.fabric.api.item.v1.FabricItemSettings;
import net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings;
import net.minecraft.block.Block;
@@ -17,13 +17,13 @@ public class omniumBlocks {
public static void register() {
Registry.register(Registry.BLOCK, new Identifier("gamermod", "omnium_ore"), OMNIUM_ORE);
Registry.register(Registry.ITEM, new Identifier("gamermod", "omnium_ore"), new BlockItem(OMNIUM_ORE, new FabricItemSettings().group(gamermod.CHING)));
Registry.register(Registry.BLOCK, new Identifier("gamermod", "deepslate_omnium_ore"), DEEPSLATE_OMNIUM_ORE);
Registry.register(Registry.ITEM, new Identifier("gamermod", "deepslate_omnium_ore"), new BlockItem(DEEPSLATE_OMNIUM_ORE, new FabricItemSettings().group(gamermod.CHING)));
Registry.register(Registry.BLOCK, new Identifier("gamermod", "omnium_block"), OMNIUM_BLOCK);
Registry.register(Registry.ITEM, new Identifier("gamermod", "omnium_block"), new BlockItem(OMNIUM_BLOCK, new FabricItemSettings().group(gamermod.CHING)));
Registry.register(Registry.BLOCK, new Identifier("gameritems", "omnium_ore"), OMNIUM_ORE);
Registry.register(Registry.ITEM, new Identifier("gameritems", "omnium_ore"), new BlockItem(OMNIUM_ORE, new FabricItemSettings().group(gameritems.CHING)));
Registry.register(Registry.BLOCK, new Identifier("gameritems", "deepslate_omnium_ore"), DEEPSLATE_OMNIUM_ORE);
Registry.register(Registry.ITEM, new Identifier("gameritems", "deepslate_omnium_ore"), new BlockItem(DEEPSLATE_OMNIUM_ORE, new FabricItemSettings().group(gameritems.CHING)));
Registry.register(Registry.BLOCK, new Identifier("gameritems", "omnium_block"), OMNIUM_BLOCK);
Registry.register(Registry.ITEM, new Identifier("gameritems", "omnium_block"), new BlockItem(OMNIUM_BLOCK, new FabricItemSettings().group(gameritems.CHING)));
gamermod.LOGGER.info("omniumBlocks loaded");
gameritems.LOGGER.info("omniumBlocks loaded");
}
}

View File

@@ -1,6 +1,6 @@
package net.arcmods.ryantlg.blocks;
import net.arcmods.ryantlg.gamermod;
import net.arcmods.ryantlg.gameritems;
import net.arcmods.ryantlg.blockClasses.oriumBlock;
import net.fabricmc.fabric.api.item.v1.FabricItemSettings;
import net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings;
@@ -19,14 +19,14 @@ public class oriumBlocks {
public static void register() {
Registry.register(Registry.BLOCK, new Identifier("gamermod", "orium_ore"), ORIUM_ORE);
Registry.register(Registry.ITEM, new Identifier("gamermod", "orium_ore"), new BlockItem(ORIUM_ORE, new FabricItemSettings().group(gamermod.CHING).rarity(Rarity.UNCOMMON)));
Registry.register(Registry.BLOCK, new Identifier("gamermod", "deepslate_orium_ore"), DEEPSLATE_ORIUM_ORE);
Registry.register(Registry.ITEM, new Identifier("gamermod", "deepslate_orium_ore"), new BlockItem(DEEPSLATE_ORIUM_ORE, new FabricItemSettings().group(gamermod.CHING).rarity(Rarity.UNCOMMON)));
Registry.register(Registry.BLOCK, new Identifier("gamermod", "orium_block"), ORIUM_BLOCK);
Registry.register(Registry.ITEM, new Identifier("gamermod", "orium_block"), new BlockItem(ORIUM_BLOCK, new FabricItemSettings().group(gamermod.CHING).rarity(Rarity.UNCOMMON)));
Registry.register(Registry.BLOCK, new Identifier("gameritems", "orium_ore"), ORIUM_ORE);
Registry.register(Registry.ITEM, new Identifier("gameritems", "orium_ore"), new BlockItem(ORIUM_ORE, new FabricItemSettings().group(gameritems.CHING).rarity(Rarity.UNCOMMON)));
Registry.register(Registry.BLOCK, new Identifier("gameritems", "deepslate_orium_ore"), DEEPSLATE_ORIUM_ORE);
Registry.register(Registry.ITEM, new Identifier("gameritems", "deepslate_orium_ore"), new BlockItem(DEEPSLATE_ORIUM_ORE, new FabricItemSettings().group(gameritems.CHING).rarity(Rarity.UNCOMMON)));
Registry.register(Registry.BLOCK, new Identifier("gameritems", "orium_block"), ORIUM_BLOCK);
Registry.register(Registry.ITEM, new Identifier("gameritems", "orium_block"), new BlockItem(ORIUM_BLOCK, new FabricItemSettings().group(gameritems.CHING).rarity(Rarity.UNCOMMON)));
gamermod.LOGGER.info("oriumBlocks loaded");
gameritems.LOGGER.info("oriumBlocks loaded");
}
}

View File

@@ -21,7 +21,7 @@ public class JeremiumSwordItem extends SwordItem {
}
@Override
public void appendTooltip(ItemStack itemStack, World world, List<Text> tooltip, TooltipContext tooltipContext) {
tooltip.add( new TranslatableText("item.gamermod.jeremium_sword.tooltip").formatted(Formatting.DARK_PURPLE, Formatting.ITALIC) );
tooltip.add( new TranslatableText("item.gameritems.jeremium_sword.tooltip").formatted(Formatting.DARK_PURPLE, Formatting.ITALIC) );
}
@Override

View File

@@ -17,6 +17,6 @@ public class OmniumSwordItem extends SwordItem {
}
@Override
public void appendTooltip(ItemStack itemStack, World world, List<Text> tooltip, TooltipContext tooltipContext) {
tooltip.add( new TranslatableText("item.gamermod.omnium_sword.tooltip").formatted(Formatting.DARK_PURPLE, Formatting.ITALIC) );
tooltip.add( new TranslatableText("item.gameritems.omnium_sword.tooltip").formatted(Formatting.DARK_PURPLE, Formatting.ITALIC) );
}
}

View File

@@ -9,6 +9,7 @@ import net.arcmods.ryantlg.items.armour.jeremiumArmour;
import net.arcmods.ryantlg.items.armour.notArmour;
import net.arcmods.ryantlg.items.armour.omniumArmour;
import net.arcmods.ryantlg.items.armour.oriumArmour;
import net.arcmods.ryantlg.items.bows.gamerBow;
import net.arcmods.ryantlg.items.itemsByCrop.weemItems;
import net.arcmods.ryantlg.items.metalItems.jeremiumMetals;
import net.arcmods.ryantlg.items.metalItems.omniumMetals;
@@ -37,23 +38,23 @@ import net.minecraft.util.Identifier;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
public class gamermod implements ModInitializer {
public class gameritems implements ModInitializer {
public static final Logger LOGGER = LogManager.getLogger("gamermod");
public static final Logger LOGGER = LogManager.getLogger("gameritems");
public static final ItemGroup FNUTS = FabricItemGroupBuilder.build(
new Identifier("gamermod", "chins"),
new Identifier("gameritems", "chins"),
() -> new ItemStack(Items.NETHERITE_INGOT)
);
public static final ItemGroup CHING = FabricItemGroupBuilder.create(
new Identifier("gamermod", "things"))
new Identifier("gameritems", "things"))
.icon(() -> new ItemStack(FunnyItems.DEEZ_NUTS_ON_CHIN))
.build();
public static final ItemGroup THING = FabricItemGroupBuilder.create(
new Identifier("gamermod", "armour_and_tools"))
new Identifier("gameritems", "armour_and_tools"))
.icon(() -> new ItemStack(omniumMetals.OMNIUM))
.build();
@@ -97,6 +98,7 @@ public class gamermod implements ModInitializer {
JeremiumOreGen.register();
notArmour.register();
gamerBow.register();
}
//fight me

View File

@@ -1,6 +1,7 @@
package net.arcmods.ryantlg;
import net.arcmods.ryantlg.blocks.CropBlocks;
import net.arcmods.ryantlg.utils.bowModelPredicateProvider;
import net.fabricmc.api.ClientModInitializer;
import net.fabricmc.api.EnvType;
import net.fabricmc.api.Environment;
@@ -8,13 +9,15 @@ import net.fabricmc.fabric.api.blockrenderlayer.v1.BlockRenderLayerMap;
import net.minecraft.client.render.RenderLayer;
@Environment(EnvType.CLIENT)
public class gamermodClient implements ClientModInitializer{
public class gameritemsClient implements ClientModInitializer{
@Override
public void onInitializeClient() {
BlockRenderLayerMap.INSTANCE.putBlocks(RenderLayer.getCutout(), CropBlocks.WEEM_CROP_BLOCK);
gamermod.LOGGER.info("Client only objects loaded");
bowModelPredicateProvider.registerBowModels();
gameritems.LOGGER.info("Client only objects loaded");
}

View File

@@ -19,6 +19,6 @@ public class BreemItem extends Item {
@Override
public void appendTooltip(ItemStack itemStack, World world, List<Text> tooltip, TooltipContext tooltipContext) {
tooltip.add( new TranslatableText("item.gamermod.breem.tooltip").formatted(Formatting.LIGHT_PURPLE, Formatting.ITALIC) );
tooltip.add( new TranslatableText("item.gameritems.breem.tooltip").formatted(Formatting.LIGHT_PURPLE, Formatting.ITALIC) );
}
}

View File

@@ -19,7 +19,7 @@ public class FabricReality extends Item{
@Override
public void appendTooltip(ItemStack itemStack, World world, List<Text> tooltip, TooltipContext tooltipContext) {
tooltip.add( new TranslatableText("item.gamermod.fabric_of_reality.tooltip").formatted(Formatting.LIGHT_PURPLE, Formatting.ITALIC) );
tooltip.add( new TranslatableText("item.gameritems.fabric_of_reality.tooltip").formatted(Formatting.LIGHT_PURPLE, Formatting.ITALIC) );
}
}

View File

@@ -19,6 +19,6 @@ public class WeemItem extends Item {
@Override
public void appendTooltip(ItemStack itemStack, World world, List<Text> tooltip, TooltipContext tooltipContext) {
tooltip.add( new TranslatableText("item.gamermod.weem.tooltip").formatted(Formatting.LIGHT_PURPLE, Formatting.ITALIC) );
tooltip.add( new TranslatableText("item.gameritems.weem.tooltip").formatted(Formatting.LIGHT_PURPLE, Formatting.ITALIC) );
}
}

View File

@@ -19,7 +19,7 @@ public class jeremiumItem extends Item{
@Override
public void appendTooltip(ItemStack itemStack, World world, List<Text> tooltip, TooltipContext tooltipContext) {
tooltip.add( new TranslatableText("all.gamermod.jeremium.tooltiptwo").formatted(Formatting.LIGHT_PURPLE, Formatting.ITALIC) );
tooltip.add( new TranslatableText("all.gameritems.jeremium.tooltiptwo").formatted(Formatting.LIGHT_PURPLE, Formatting.ITALIC) );
}

View File

@@ -19,7 +19,7 @@ public class oriumItem extends Item{
@Override
public void appendTooltip(ItemStack itemStack, World world, List<Text> tooltip, TooltipContext tooltipContext) {
tooltip.add( new TranslatableText("item.gamermod.orium.tooltip").formatted(Formatting.LIGHT_PURPLE, Formatting.ITALIC) );
tooltip.add( new TranslatableText("item.gameritems.orium.tooltip").formatted(Formatting.LIGHT_PURPLE, Formatting.ITALIC) );
}
}

View File

@@ -1,6 +1,6 @@
package net.arcmods.ryantlg.items.armour;
import net.arcmods.ryantlg.gamermod;
import net.arcmods.ryantlg.gameritems;
import net.arcmods.ryantlg.armourMaterials.JeremiumArmorMaterial;
import net.minecraft.entity.EquipmentSlot;
import net.minecraft.item.ArmorItem;
@@ -13,19 +13,19 @@ import net.minecraft.util.registry.Registry;
public class jeremiumArmour {
public static final ArmorMaterial JEREMIUM_ARMOR_MATERIAL = new JeremiumArmorMaterial();
public static final Item JEREMIUM_HELMET = new ArmorItem(JEREMIUM_ARMOR_MATERIAL, EquipmentSlot.HEAD, new Item.Settings().group(gamermod.THING).fireproof().rarity(Rarity.EPIC));
public static final Item JEREMIUM_CHESTPLATE = new ArmorItem(JEREMIUM_ARMOR_MATERIAL, EquipmentSlot.CHEST, new Item.Settings().group(gamermod.THING).fireproof().rarity(Rarity.EPIC));
public static final Item JEREMIUM_LEGGINGS = new ArmorItem(JEREMIUM_ARMOR_MATERIAL, EquipmentSlot.LEGS, new Item.Settings().group(gamermod.THING).fireproof().rarity(Rarity.EPIC));
public static final Item JEREMIUM_BOOTS = new ArmorItem(JEREMIUM_ARMOR_MATERIAL, EquipmentSlot.FEET, new Item.Settings().group(gamermod.THING).fireproof().rarity(Rarity.EPIC));
public static final Item JEREMIUM_HELMET = new ArmorItem(JEREMIUM_ARMOR_MATERIAL, EquipmentSlot.HEAD, new Item.Settings().group(gameritems.THING).fireproof().rarity(Rarity.EPIC));
public static final Item JEREMIUM_CHESTPLATE = new ArmorItem(JEREMIUM_ARMOR_MATERIAL, EquipmentSlot.CHEST, new Item.Settings().group(gameritems.THING).fireproof().rarity(Rarity.EPIC));
public static final Item JEREMIUM_LEGGINGS = new ArmorItem(JEREMIUM_ARMOR_MATERIAL, EquipmentSlot.LEGS, new Item.Settings().group(gameritems.THING).fireproof().rarity(Rarity.EPIC));
public static final Item JEREMIUM_BOOTS = new ArmorItem(JEREMIUM_ARMOR_MATERIAL, EquipmentSlot.FEET, new Item.Settings().group(gameritems.THING).fireproof().rarity(Rarity.EPIC));
public static void register() {
Registry.register(Registry.ITEM, new Identifier("gamermod", "jeremium_helmet"), JEREMIUM_HELMET);
Registry.register(Registry.ITEM, new Identifier("gamermod", "jeremium_chestplate"), JEREMIUM_CHESTPLATE);
Registry.register(Registry.ITEM, new Identifier("gamermod", "jeremium_leggings"), JEREMIUM_LEGGINGS);
Registry.register(Registry.ITEM, new Identifier("gamermod", "jeremium_boots"), JEREMIUM_BOOTS);
Registry.register(Registry.ITEM, new Identifier("gameritems", "jeremium_helmet"), JEREMIUM_HELMET);
Registry.register(Registry.ITEM, new Identifier("gameritems", "jeremium_chestplate"), JEREMIUM_CHESTPLATE);
Registry.register(Registry.ITEM, new Identifier("gameritems", "jeremium_leggings"), JEREMIUM_LEGGINGS);
Registry.register(Registry.ITEM, new Identifier("gameritems", "jeremium_boots"), JEREMIUM_BOOTS);
gamermod.LOGGER.info("jeremiumArmour loaded");
gameritems.LOGGER.info("jeremiumArmour loaded");
}
}

View File

@@ -1,6 +1,6 @@
package net.arcmods.ryantlg.items.armour;
import net.arcmods.ryantlg.gamermod;
import net.arcmods.ryantlg.gameritems;
import net.arcmods.ryantlg.armourMaterials.notArmorMaterial;
import net.minecraft.entity.EquipmentSlot;
import net.minecraft.item.ArmorItem;
@@ -13,19 +13,19 @@ import net.minecraft.util.registry.Registry;
public class notArmour {
public static final ArmorMaterial OMNIUM_ARMOR_MATERIAL = new notArmorMaterial();
public static final Item NOT_HELMET = new ArmorItem(OMNIUM_ARMOR_MATERIAL, EquipmentSlot.HEAD, new Item.Settings().group(gamermod.THING).fireproof().rarity(Rarity.EPIC));
public static final Item NOT_CHESTPLATE = new ArmorItem(OMNIUM_ARMOR_MATERIAL, EquipmentSlot.CHEST, new Item.Settings().group(gamermod.THING).fireproof().rarity(Rarity.EPIC));
public static final Item NOT_LEGGINGS = new ArmorItem(OMNIUM_ARMOR_MATERIAL, EquipmentSlot.LEGS, new Item.Settings().group(gamermod.THING).fireproof().rarity(Rarity.EPIC));
public static final Item NOT_BOOTS = new ArmorItem(OMNIUM_ARMOR_MATERIAL, EquipmentSlot.FEET, new Item.Settings().group(gamermod.THING).fireproof().rarity(Rarity.EPIC));
public static final Item NOT_HELMET = new ArmorItem(OMNIUM_ARMOR_MATERIAL, EquipmentSlot.HEAD, new Item.Settings().group(gameritems.THING).fireproof().rarity(Rarity.EPIC));
public static final Item NOT_CHESTPLATE = new ArmorItem(OMNIUM_ARMOR_MATERIAL, EquipmentSlot.CHEST, new Item.Settings().group(gameritems.THING).fireproof().rarity(Rarity.EPIC));
public static final Item NOT_LEGGINGS = new ArmorItem(OMNIUM_ARMOR_MATERIAL, EquipmentSlot.LEGS, new Item.Settings().group(gameritems.THING).fireproof().rarity(Rarity.EPIC));
public static final Item NOT_BOOTS = new ArmorItem(OMNIUM_ARMOR_MATERIAL, EquipmentSlot.FEET, new Item.Settings().group(gameritems.THING).fireproof().rarity(Rarity.EPIC));
public static void register() {
Registry.register(Registry.ITEM, new Identifier("gamermod", "not_helmet"), NOT_HELMET);
Registry.register(Registry.ITEM, new Identifier("gamermod", "not_chestplate"), NOT_CHESTPLATE);
Registry.register(Registry.ITEM, new Identifier("gamermod", "not_leggings"), NOT_LEGGINGS);
Registry.register(Registry.ITEM, new Identifier("gamermod", "not_boots"), NOT_BOOTS);
Registry.register(Registry.ITEM, new Identifier("gameritems", "not_helmet"), NOT_HELMET);
Registry.register(Registry.ITEM, new Identifier("gameritems", "not_chestplate"), NOT_CHESTPLATE);
Registry.register(Registry.ITEM, new Identifier("gameritems", "not_leggings"), NOT_LEGGINGS);
Registry.register(Registry.ITEM, new Identifier("gameritems", "not_boots"), NOT_BOOTS);
gamermod.LOGGER.info("notArmour loaded");
gameritems.LOGGER.info("notArmour loaded");
}
}

View File

@@ -1,7 +1,7 @@
package net.arcmods.ryantlg.items.armour;
import net.minecraft.util.registry.Registry;
import net.arcmods.ryantlg.gamermod;
import net.arcmods.ryantlg.gameritems;
import net.arcmods.ryantlg.armourMaterials.OmniumArmorMaterial;
import net.minecraft.entity.EquipmentSlot;
import net.minecraft.item.ArmorItem;
@@ -13,19 +13,19 @@ import net.minecraft.util.Rarity;
public class omniumArmour {
public static final ArmorMaterial OMNIUM_ARMOR_MATERIAL = new OmniumArmorMaterial();
public static final Item OMNIUM_HELMET = new ArmorItem(OMNIUM_ARMOR_MATERIAL, EquipmentSlot.HEAD, new Item.Settings().group(gamermod.THING).fireproof().rarity(Rarity.EPIC));
public static final Item OMNIUM_CHESTPLATE = new ArmorItem(OMNIUM_ARMOR_MATERIAL, EquipmentSlot.CHEST, new Item.Settings().group(gamermod.THING).fireproof().rarity(Rarity.EPIC));
public static final Item OMNIUM_LEGGINGS = new ArmorItem(OMNIUM_ARMOR_MATERIAL, EquipmentSlot.LEGS, new Item.Settings().group(gamermod.THING).fireproof().rarity(Rarity.EPIC));
public static final Item OMNIUM_BOOTS = new ArmorItem(OMNIUM_ARMOR_MATERIAL, EquipmentSlot.FEET, new Item.Settings().group(gamermod.THING).fireproof().rarity(Rarity.EPIC));
public static final Item OMNIUM_HELMET = new ArmorItem(OMNIUM_ARMOR_MATERIAL, EquipmentSlot.HEAD, new Item.Settings().group(gameritems.THING).fireproof().rarity(Rarity.EPIC));
public static final Item OMNIUM_CHESTPLATE = new ArmorItem(OMNIUM_ARMOR_MATERIAL, EquipmentSlot.CHEST, new Item.Settings().group(gameritems.THING).fireproof().rarity(Rarity.EPIC));
public static final Item OMNIUM_LEGGINGS = new ArmorItem(OMNIUM_ARMOR_MATERIAL, EquipmentSlot.LEGS, new Item.Settings().group(gameritems.THING).fireproof().rarity(Rarity.EPIC));
public static final Item OMNIUM_BOOTS = new ArmorItem(OMNIUM_ARMOR_MATERIAL, EquipmentSlot.FEET, new Item.Settings().group(gameritems.THING).fireproof().rarity(Rarity.EPIC));
public static void register() {
Registry.register(Registry.ITEM, new Identifier("gamermod", "omnium_helmet"), OMNIUM_HELMET);
Registry.register(Registry.ITEM, new Identifier("gamermod", "omnium_chestplate"), OMNIUM_CHESTPLATE);
Registry.register(Registry.ITEM, new Identifier("gamermod", "omnium_leggings"), OMNIUM_LEGGINGS);
Registry.register(Registry.ITEM, new Identifier("gamermod", "omnium_boots"), OMNIUM_BOOTS);
Registry.register(Registry.ITEM, new Identifier("gameritems", "omnium_helmet"), OMNIUM_HELMET);
Registry.register(Registry.ITEM, new Identifier("gameritems", "omnium_chestplate"), OMNIUM_CHESTPLATE);
Registry.register(Registry.ITEM, new Identifier("gameritems", "omnium_leggings"), OMNIUM_LEGGINGS);
Registry.register(Registry.ITEM, new Identifier("gameritems", "omnium_boots"), OMNIUM_BOOTS);
gamermod.LOGGER.info("omniumArmour loaded");
gameritems.LOGGER.info("omniumArmour loaded");
}
}

View File

@@ -1,7 +1,7 @@
package net.arcmods.ryantlg.items.armour;
import net.minecraft.util.registry.Registry;
import net.arcmods.ryantlg.gamermod;
import net.arcmods.ryantlg.gameritems;
import net.arcmods.ryantlg.armourMaterials.OriumArmorMaterial;
import net.minecraft.entity.EquipmentSlot;
import net.minecraft.item.ArmorItem;
@@ -12,18 +12,18 @@ import net.minecraft.util.Rarity;
public class oriumArmour {
public static final ArmorMaterial ORIUM_ARMOR_MATERIAL = new OriumArmorMaterial();
public static final Item ORIUM_HELMET = new ArmorItem(ORIUM_ARMOR_MATERIAL, EquipmentSlot.HEAD, new Item.Settings().group(gamermod.THING).fireproof().rarity(Rarity.RARE));
public static final Item ORIUM_CHESTPLATE = new ArmorItem(ORIUM_ARMOR_MATERIAL, EquipmentSlot.CHEST, new Item.Settings().group(gamermod.THING).fireproof().rarity(Rarity.RARE));
public static final Item ORIUM_LEGGINGS = new ArmorItem(ORIUM_ARMOR_MATERIAL, EquipmentSlot.LEGS, new Item.Settings().group(gamermod.THING).fireproof().rarity(Rarity.RARE));
public static final Item ORIUM_BOOTS = new ArmorItem(ORIUM_ARMOR_MATERIAL, EquipmentSlot.FEET, new Item.Settings().group(gamermod.THING).fireproof().rarity(Rarity.RARE));
public static final Item ORIUM_HELMET = new ArmorItem(ORIUM_ARMOR_MATERIAL, EquipmentSlot.HEAD, new Item.Settings().group(gameritems.THING).fireproof().rarity(Rarity.RARE));
public static final Item ORIUM_CHESTPLATE = new ArmorItem(ORIUM_ARMOR_MATERIAL, EquipmentSlot.CHEST, new Item.Settings().group(gameritems.THING).fireproof().rarity(Rarity.RARE));
public static final Item ORIUM_LEGGINGS = new ArmorItem(ORIUM_ARMOR_MATERIAL, EquipmentSlot.LEGS, new Item.Settings().group(gameritems.THING).fireproof().rarity(Rarity.RARE));
public static final Item ORIUM_BOOTS = new ArmorItem(ORIUM_ARMOR_MATERIAL, EquipmentSlot.FEET, new Item.Settings().group(gameritems.THING).fireproof().rarity(Rarity.RARE));
public static void register() {
Registry.register(Registry.ITEM, new Identifier("gamermod", "orium_helmet"), ORIUM_HELMET);
Registry.register(Registry.ITEM, new Identifier("gamermod", "orium_chestplate"), ORIUM_CHESTPLATE);
Registry.register(Registry.ITEM, new Identifier("gamermod", "orium_leggings"), ORIUM_LEGGINGS);
Registry.register(Registry.ITEM, new Identifier("gamermod", "orium_boots"), ORIUM_BOOTS);
Registry.register(Registry.ITEM, new Identifier("gameritems", "orium_helmet"), ORIUM_HELMET);
Registry.register(Registry.ITEM, new Identifier("gameritems", "orium_chestplate"), ORIUM_CHESTPLATE);
Registry.register(Registry.ITEM, new Identifier("gameritems", "orium_leggings"), ORIUM_LEGGINGS);
Registry.register(Registry.ITEM, new Identifier("gameritems", "orium_boots"), ORIUM_BOOTS);
gamermod.LOGGER.info("oriumArmour loaded");
gameritems.LOGGER.info("oriumArmour loaded");
}
}

View File

@@ -0,0 +1,19 @@
package net.arcmods.ryantlg.items.bows;
import net.arcmods.ryantlg.gameritems;
import net.fabricmc.fabric.api.item.v1.FabricItemSettings;
import net.minecraft.item.BowItem;
import net.minecraft.item.Item;
import net.minecraft.util.Identifier;
import net.minecraft.util.registry.Registry;
public class gamerBow {
public static final Item GAMER_BOW = new BowItem(new FabricItemSettings().group(gameritems.CHING).maxCount(1).fireproof().maxDamage(458));
public static void register(){
Registry.register(Registry.ITEM, new Identifier("gameritems", "gamer_bow"), GAMER_BOW);
}
}

View File

@@ -1,6 +1,6 @@
package net.arcmods.ryantlg.items.itemsByCrop;
import net.arcmods.ryantlg.gamermod;
import net.arcmods.ryantlg.gameritems;
import net.arcmods.ryantlg.blocks.CropBlocks;
import net.arcmods.ryantlg.itemClasses.BreemItem;
import net.arcmods.ryantlg.itemClasses.WeemItem;
@@ -18,11 +18,11 @@ public class weemItems {
//main items
//================================================================================================================
public static final Item WEEM = new Item(new Item.Settings().group(gamermod.CHING).maxCount(128));
public static final Item WEEM = new Item(new Item.Settings().group(gameritems.CHING).maxCount(128));
// foods
//================================================================================================================
public static final Item BREEM = new BreemItem(new FabricItemSettings().group(gamermod.CHING)
public static final Item BREEM = new BreemItem(new FabricItemSettings().group(gameritems.CHING)
.food(
new FoodComponent
.Builder()
@@ -34,9 +34,9 @@ public class weemItems {
.statusEffect(new StatusEffectInstance(StatusEffects.LEVITATION, 20*7), 1f)
.statusEffect(new StatusEffectInstance(GamerEffects.HIGH, 20*8), 1f)
.build()
));
).maxCount(64));
public static final Item WEEM_APPLE = new WeemItem(new FabricItemSettings().group(gamermod.CHING)
public static final Item WEEM_APPLE = new WeemItem(new FabricItemSettings().group(gameritems.CHING)
.food(
new FoodComponent
.Builder()
@@ -56,18 +56,18 @@ public class weemItems {
//seeds
//================================================================================================================
public static final Item WEEM_SEEDS = new AliasedBlockItem(CropBlocks.WEEM_CROP_BLOCK, new Item.Settings().group(gamermod.CHING));
public static final Item WEEM_SEEDS = new AliasedBlockItem(CropBlocks.WEEM_CROP_BLOCK, new Item.Settings().group(gameritems.CHING));
public static void register() {
Registry.register(Registry.ITEM, new Identifier("gamermod", "breem"), BREEM);
Registry.register(Registry.ITEM, new Identifier("gamermod", "weem_apple"), WEEM_APPLE);
Registry.register(Registry.ITEM, new Identifier("gameritems", "breem"), BREEM);
Registry.register(Registry.ITEM, new Identifier("gameritems", "weem_apple"), WEEM_APPLE);
Registry.register(Registry.ITEM, new Identifier("gamermod","weem_seeds"), WEEM_SEEDS);
Registry.register(Registry.ITEM, new Identifier("gamermod", "weem"), WEEM);
Registry.register(Registry.ITEM, new Identifier("gameritems","weem_seeds"), WEEM_SEEDS);
Registry.register(Registry.ITEM, new Identifier("gameritems", "weem"), WEEM);
gamermod.LOGGER.info("weemItems loaded");
gameritems.LOGGER.info("weemItems loaded");
}
}

View File

@@ -1,6 +1,6 @@
package net.arcmods.ryantlg.items.metalItems;
import net.arcmods.ryantlg.gamermod;
import net.arcmods.ryantlg.gameritems;
import net.arcmods.ryantlg.itemClasses.jeremiumItem;
import net.minecraft.item.Item;
import net.minecraft.util.Identifier;
@@ -9,14 +9,14 @@ import net.minecraft.util.registry.Registry;
public class jeremiumMetals {
public static final Item JEREMIUM = new jeremiumItem(new Item.Settings().fireproof().group(gamermod.CHING).maxCount(56).rarity(Rarity.UNCOMMON));
public static final Item RAW_JEREMIUM = new jeremiumItem(new Item.Settings().fireproof().group(gamermod.CHING).maxCount(56).rarity(Rarity.UNCOMMON));
public static final Item JEREMIUM = new jeremiumItem(new Item.Settings().fireproof().group(gameritems.CHING).maxCount(56).rarity(Rarity.UNCOMMON));
public static final Item RAW_JEREMIUM = new jeremiumItem(new Item.Settings().fireproof().group(gameritems.CHING).maxCount(56).rarity(Rarity.UNCOMMON));
public static void register() {
Registry.register(Registry.ITEM, new Identifier("gamermod", "jeremium_ingot"), JEREMIUM);
Registry.register(Registry.ITEM, new Identifier("gamermod", "raw_jeremium"), RAW_JEREMIUM);
Registry.register(Registry.ITEM, new Identifier("gameritems", "jeremium_ingot"), JEREMIUM);
Registry.register(Registry.ITEM, new Identifier("gameritems", "raw_jeremium"), RAW_JEREMIUM);
gamermod.LOGGER.info("jeremiumMetals loaded");
gameritems.LOGGER.info("jeremiumMetals loaded");
}
}

View File

@@ -1,6 +1,6 @@
package net.arcmods.ryantlg.items.metalItems;
import net.arcmods.ryantlg.gamermod;
import net.arcmods.ryantlg.gameritems;
import net.minecraft.item.Item;
import net.minecraft.util.Identifier;
import net.minecraft.util.Rarity;
@@ -8,13 +8,13 @@ import net.minecraft.util.registry.Registry;
public class omniumMetals {
public static final Item OMNIUM = new Item(new Item.Settings().group(gamermod.CHING).maxCount(64).fireproof().rarity(Rarity.RARE));
public static final Item RAW_OMNIUM = new Item(new Item.Settings().group(gamermod.CHING).maxCount(64).fireproof().rarity(Rarity.RARE));
public static final Item OMNIUM = new Item(new Item.Settings().group(gameritems.CHING).maxCount(64).fireproof().rarity(Rarity.RARE));
public static final Item RAW_OMNIUM = new Item(new Item.Settings().group(gameritems.CHING).maxCount(64).fireproof().rarity(Rarity.RARE));
public static void register() {
Registry.register(Registry.ITEM, new Identifier("gamermod", "omnium_ingot"), OMNIUM);
Registry.register(Registry.ITEM, new Identifier("gamermod", "raw_omnium"), RAW_OMNIUM);
Registry.register(Registry.ITEM, new Identifier("gameritems", "omnium_ingot"), OMNIUM);
Registry.register(Registry.ITEM, new Identifier("gameritems", "raw_omnium"), RAW_OMNIUM);
gamermod.LOGGER.info("omniumMetals loaded");
gameritems.LOGGER.info("omniumMetals loaded");
}
}

View File

@@ -1,6 +1,6 @@
package net.arcmods.ryantlg.items.metalItems;
import net.arcmods.ryantlg.gamermod;
import net.arcmods.ryantlg.gameritems;
import net.arcmods.ryantlg.itemClasses.oriumItem;
import net.minecraft.item.Item;
import net.minecraft.util.Identifier;
@@ -9,13 +9,13 @@ import net.minecraft.util.registry.Registry;
public class oriumMetals {
public static final Item ORIUM = new oriumItem(new Item.Settings().group(gamermod.CHING).maxCount(64).fireproof().rarity(Rarity.UNCOMMON));
public static final Item RAW_ORIUM = new oriumItem(new Item.Settings().group(gamermod.CHING).maxCount(64).fireproof().rarity(Rarity.UNCOMMON));
public static final Item ORIUM = new oriumItem(new Item.Settings().group(gameritems.CHING).maxCount(64).fireproof().rarity(Rarity.UNCOMMON));
public static final Item RAW_ORIUM = new oriumItem(new Item.Settings().group(gameritems.CHING).maxCount(64).fireproof().rarity(Rarity.UNCOMMON));
public static void register() {
Registry.register(Registry.ITEM, new Identifier("gamermod", "orium_ingot"), ORIUM);
Registry.register(Registry.ITEM, new Identifier("gamermod", "raw_orium"), RAW_ORIUM);
Registry.register(Registry.ITEM, new Identifier("gameritems", "orium_ingot"), ORIUM);
Registry.register(Registry.ITEM, new Identifier("gameritems", "raw_orium"), RAW_ORIUM);
gamermod.LOGGER.info("oriumMetals loaded");
gameritems.LOGGER.info("oriumMetals loaded");
}
}

View File

@@ -1,6 +1,6 @@
package net.arcmods.ryantlg.items.miscItems;
import net.arcmods.ryantlg.gamermod;
import net.arcmods.ryantlg.gameritems;
import net.arcmods.ryantlg.toolMaterials.deezToolMaterial;
import net.arcmods.ryantlg.toolMaterials.dragchinToolMaterial;
import net.minecraft.item.Item;
@@ -10,27 +10,27 @@ import net.minecraft.util.Identifier;
import net.minecraft.util.registry.Registry;
public class FunnyItems {
public static final Item CHIN = new Item(new Item.Settings().group(gamermod.FNUTS).maxCount(4));
public static final Item NUTS = new Item(new Item.Settings().group(gamermod.FNUTS).maxCount(4));
public static final Item DEEZ = new Item(new Item.Settings().group(gamermod.FNUTS).maxCount(4));
public static final Item DEEZ_NUTS = new Item(new Item.Settings().group(gamermod.FNUTS).maxCount(4));
public static ToolItem DEEZ_NUTS_ON_CHIN = new SwordItem(deezToolMaterial.INSTANCE, 1, -1.0F, new Item.Settings().group(gamermod.FNUTS));
public static final Item DRAG = new Item(new Item.Settings().group(gamermod.FNUTS).maxCount(4));
public static ToolItem DRAG_DEEZ_NUTS_ON_CHIN = new SwordItem(dragchinToolMaterial.INSTANCE, 1, -1.0F, new Item.Settings().group(gamermod.FNUTS));
public static final Item YOUR_MOTHER = new Item(new Item.Settings().group(gamermod.FNUTS).maxCount(1));
public static final Item CHIN = new Item(new Item.Settings().group(gameritems.FNUTS).maxCount(4));
public static final Item NUTS = new Item(new Item.Settings().group(gameritems.FNUTS).maxCount(4));
public static final Item DEEZ = new Item(new Item.Settings().group(gameritems.FNUTS).maxCount(4));
public static final Item DEEZ_NUTS = new Item(new Item.Settings().group(gameritems.FNUTS).maxCount(4));
public static ToolItem DEEZ_NUTS_ON_CHIN = new SwordItem(deezToolMaterial.INSTANCE, 1, -1.0F, new Item.Settings().group(gameritems.FNUTS));
public static final Item DRAG = new Item(new Item.Settings().group(gameritems.FNUTS).maxCount(4));
public static ToolItem DRAG_DEEZ_NUTS_ON_CHIN = new SwordItem(dragchinToolMaterial.INSTANCE, 1, -1.0F, new Item.Settings().group(gameritems.FNUTS));
public static final Item YOUR_MOTHER = new Item(new Item.Settings().group(gameritems.FNUTS).maxCount(1));
public static void register() {
Registry.register(Registry.ITEM, new Identifier("gamermod", "chin"), CHIN);
Registry.register(Registry.ITEM, new Identifier("gamermod", "nuts"), NUTS);
Registry.register(Registry.ITEM, new Identifier("gamermod", "deez"), DEEZ);
Registry.register(Registry.ITEM, new Identifier("gamermod", "deez_nuts"), DEEZ_NUTS);
Registry.register(Registry.ITEM, new Identifier("gamermod", "deez_nuts_on_your_chin"), DEEZ_NUTS_ON_CHIN);
Registry.register(Registry.ITEM, new Identifier("gamermod", "drag"), DRAG);
Registry.register(Registry.ITEM, new Identifier("gamermod", "drag_deez_nuts_on_your_chin"), DRAG_DEEZ_NUTS_ON_CHIN);
Registry.register(Registry.ITEM, new Identifier("gamermod", "your_mother"), YOUR_MOTHER);
Registry.register(Registry.ITEM, new Identifier("gameritems", "chin"), CHIN);
Registry.register(Registry.ITEM, new Identifier("gameritems", "nuts"), NUTS);
Registry.register(Registry.ITEM, new Identifier("gameritems", "deez"), DEEZ);
Registry.register(Registry.ITEM, new Identifier("gameritems", "deez_nuts"), DEEZ_NUTS);
Registry.register(Registry.ITEM, new Identifier("gameritems", "deez_nuts_on_your_chin"), DEEZ_NUTS_ON_CHIN);
Registry.register(Registry.ITEM, new Identifier("gameritems", "drag"), DRAG);
Registry.register(Registry.ITEM, new Identifier("gameritems", "drag_deez_nuts_on_your_chin"), DRAG_DEEZ_NUTS_ON_CHIN);
Registry.register(Registry.ITEM, new Identifier("gameritems", "your_mother"), YOUR_MOTHER);
gamermod.LOGGER.info("FunnyItems loaded");
gameritems.LOGGER.info("FunnyItems loaded");
}
}

View File

@@ -1,6 +1,6 @@
package net.arcmods.ryantlg.items.miscItems;
import net.arcmods.ryantlg.gamermod;
import net.arcmods.ryantlg.gameritems;
import net.minecraft.item.Item;
import net.minecraft.util.Identifier;
import net.minecraft.util.Rarity;
@@ -8,12 +8,12 @@ import net.minecraft.util.registry.Registry;
public class OtherItems {
public static final Item NETHERITE_STICK = new Item(new Item.Settings().group(gamermod.CHING).maxCount(64).fireproof().rarity(Rarity.EPIC));
public static final Item NETHERITE_STICK = new Item(new Item.Settings().group(gameritems.CHING).maxCount(64).fireproof().rarity(Rarity.EPIC));
public static void register() {
Registry.register(Registry.ITEM, new Identifier("gamermod", "netherite_stick"), NETHERITE_STICK);
Registry.register(Registry.ITEM, new Identifier("gameritems", "netherite_stick"), NETHERITE_STICK);
gamermod.LOGGER.info("OtherItems loaded");
gameritems.LOGGER.info("OtherItems loaded");
}
}

View File

@@ -1,6 +1,6 @@
package net.arcmods.ryantlg.items.miscItems;
import net.arcmods.ryantlg.gamermod;
import net.arcmods.ryantlg.gameritems;
import net.arcmods.ryantlg.itemClasses.FabricReality;
import net.minecraft.item.Item;
import net.minecraft.util.Identifier;
@@ -11,9 +11,9 @@ public class fabricOfReality {
public static final Item FABRIC_OF_REALITY = new FabricReality(new Item.Settings().fireproof());
public static void register() {
Registry.register(Registry.ITEM, new Identifier("gamermod", "fabric_of_reality"), FABRIC_OF_REALITY);
Registry.register(Registry.ITEM, new Identifier("gameritems", "fabric_of_reality"), FABRIC_OF_REALITY);
gamermod.LOGGER.info("fabricOfReality loaded");
gameritems.LOGGER.info("fabricOfReality loaded");
}
}

View File

@@ -1,6 +1,6 @@
package net.arcmods.ryantlg.items.tools;
import net.arcmods.ryantlg.gamermod;
import net.arcmods.ryantlg.gameritems;
import net.arcmods.ryantlg.customToolItemClasses.jeremium.JeremiumAxeItem;
import net.arcmods.ryantlg.customToolItemClasses.jeremium.JeremiumHoeItem;
import net.arcmods.ryantlg.customToolItemClasses.jeremium.JeremiumPickaxeItem;
@@ -15,21 +15,21 @@ import net.minecraft.util.registry.Registry;
public class jeremiumTools {
public static ToolItem JEREMIUM_SWORD = new JeremiumSwordItem(jeremiumToolMaterial.INSTANCE, 3, -2.9F, new Item.Settings().fireproof().group(gamermod.THING).rarity(Rarity.EPIC));
public static ToolItem JEREMIUM_PICKAXE = new JeremiumPickaxeItem(jeremiumToolMaterial.INSTANCE, -10, -3.0F, new Item.Settings().fireproof().group(gamermod.THING).rarity(Rarity.EPIC));
public static ToolItem JEREMIUM_SHOVEL = new JeremiumShovelItem(jeremiumToolMaterial.INSTANCE, -11, -3.0F, new Item.Settings().fireproof().group(gamermod.THING).rarity(Rarity.EPIC));
public static ToolItem JEREMIUM_AXE = new JeremiumAxeItem(jeremiumToolMaterial.INSTANCE, 5, -3.0F, new Item.Settings().fireproof().group(gamermod.THING).rarity(Rarity.EPIC));
public static ToolItem JEREMIUM_HOE = new JeremiumHoeItem(jeremiumToolMaterial.INSTANCE, -12, -3.0F, new Item.Settings().fireproof().group(gamermod.THING).rarity(Rarity.EPIC));
public static ToolItem JEREMIUM_SWORD = new JeremiumSwordItem(jeremiumToolMaterial.INSTANCE, 3, -2.9F, new Item.Settings().fireproof().group(gameritems.THING).rarity(Rarity.EPIC));
public static ToolItem JEREMIUM_PICKAXE = new JeremiumPickaxeItem(jeremiumToolMaterial.INSTANCE, -10, -3.0F, new Item.Settings().fireproof().group(gameritems.THING).rarity(Rarity.EPIC));
public static ToolItem JEREMIUM_SHOVEL = new JeremiumShovelItem(jeremiumToolMaterial.INSTANCE, -11, -3.0F, new Item.Settings().fireproof().group(gameritems.THING).rarity(Rarity.EPIC));
public static ToolItem JEREMIUM_AXE = new JeremiumAxeItem(jeremiumToolMaterial.INSTANCE, 5, -3.0F, new Item.Settings().fireproof().group(gameritems.THING).rarity(Rarity.EPIC));
public static ToolItem JEREMIUM_HOE = new JeremiumHoeItem(jeremiumToolMaterial.INSTANCE, -12, -3.0F, new Item.Settings().fireproof().group(gameritems.THING).rarity(Rarity.EPIC));
public static void register() {
Registry.register(Registry.ITEM, new Identifier("gamermod", "jeremium_sword"), JEREMIUM_SWORD);
Registry.register(Registry.ITEM, new Identifier("gamermod", "jeremium_pickaxe"), JEREMIUM_PICKAXE);
Registry.register(Registry.ITEM, new Identifier("gamermod", "jeremium_shovel"), JEREMIUM_SHOVEL);
Registry.register(Registry.ITEM, new Identifier("gamermod", "jeremium_axe"), JEREMIUM_AXE);
Registry.register(Registry.ITEM, new Identifier("gamermod", "jeremium_hoe"), JEREMIUM_HOE);
Registry.register(Registry.ITEM, new Identifier("gameritems", "jeremium_sword"), JEREMIUM_SWORD);
Registry.register(Registry.ITEM, new Identifier("gameritems", "jeremium_pickaxe"), JEREMIUM_PICKAXE);
Registry.register(Registry.ITEM, new Identifier("gameritems", "jeremium_shovel"), JEREMIUM_SHOVEL);
Registry.register(Registry.ITEM, new Identifier("gameritems", "jeremium_axe"), JEREMIUM_AXE);
Registry.register(Registry.ITEM, new Identifier("gameritems", "jeremium_hoe"), JEREMIUM_HOE);
gamermod.LOGGER.info("jeremiumTools loaded");
gameritems.LOGGER.info("jeremiumTools loaded");
}
}

View File

@@ -1,6 +1,6 @@
package net.arcmods.ryantlg.items.tools;
import net.arcmods.ryantlg.gamermod;
import net.arcmods.ryantlg.gameritems;
import net.arcmods.ryantlg.customToolItemClasses.omnium.OmniumAxeItem;
import net.arcmods.ryantlg.customToolItemClasses.omnium.OmniumHoeItem;
import net.arcmods.ryantlg.customToolItemClasses.omnium.OmniumPickaxeItem;
@@ -15,20 +15,20 @@ import net.minecraft.util.registry.Registry;
public class omniumTools {
public static ToolItem OMNIUM_SWORD = new OmniumSwordItem(omniumToolMaterial.INSTANCE, 3, -1.0F, new Item.Settings().fireproof().group(gamermod.THING).rarity(Rarity.EPIC));
public static ToolItem OMNIUM_PICKAXE = new OmniumPickaxeItem(omniumToolMaterial.INSTANCE, -9, -2.8F, new Item.Settings().fireproof().group(gamermod.THING).rarity(Rarity.EPIC));
public static ToolItem OMNIUM_SHOVEL = new OmniumShovelItem(omniumToolMaterial.INSTANCE, -10, -3.0F, new Item.Settings().fireproof().group(gamermod.THING).rarity(Rarity.EPIC));
public static ToolItem OMNIUM_AXE = new OmniumAxeItem(omniumToolMaterial.INSTANCE, 6, -1.9F, new Item.Settings().fireproof().group(gamermod.THING).rarity(Rarity.EPIC));
public static ToolItem OMNIUM_HOE = new OmniumHoeItem(omniumToolMaterial.INSTANCE, -11, -3.2F, new Item.Settings().fireproof().group(gamermod.THING).rarity(Rarity.EPIC));
public static ToolItem OMNIUM_SWORD = new OmniumSwordItem(omniumToolMaterial.INSTANCE, 3, -1.0F, new Item.Settings().fireproof().group(gameritems.THING).rarity(Rarity.EPIC));
public static ToolItem OMNIUM_PICKAXE = new OmniumPickaxeItem(omniumToolMaterial.INSTANCE, -9, -2.8F, new Item.Settings().fireproof().group(gameritems.THING).rarity(Rarity.EPIC));
public static ToolItem OMNIUM_SHOVEL = new OmniumShovelItem(omniumToolMaterial.INSTANCE, -10, -3.0F, new Item.Settings().fireproof().group(gameritems.THING).rarity(Rarity.EPIC));
public static ToolItem OMNIUM_AXE = new OmniumAxeItem(omniumToolMaterial.INSTANCE, 6, -1.9F, new Item.Settings().fireproof().group(gameritems.THING).rarity(Rarity.EPIC));
public static ToolItem OMNIUM_HOE = new OmniumHoeItem(omniumToolMaterial.INSTANCE, -11, -3.2F, new Item.Settings().fireproof().group(gameritems.THING).rarity(Rarity.EPIC));
public static void register() {
Registry.register(Registry.ITEM, new Identifier("gamermod", "omnium_sword"), OMNIUM_SWORD);
Registry.register(Registry.ITEM, new Identifier("gamermod", "omnium_pickaxe"), OMNIUM_PICKAXE);
Registry.register(Registry.ITEM, new Identifier("gamermod", "omnium_shovel"), OMNIUM_SHOVEL);
Registry.register(Registry.ITEM, new Identifier("gamermod", "omnium_axe"), OMNIUM_AXE);
Registry.register(Registry.ITEM, new Identifier("gamermod", "omnium_hoe"), OMNIUM_HOE);
Registry.register(Registry.ITEM, new Identifier("gameritems", "omnium_sword"), OMNIUM_SWORD);
Registry.register(Registry.ITEM, new Identifier("gameritems", "omnium_pickaxe"), OMNIUM_PICKAXE);
Registry.register(Registry.ITEM, new Identifier("gameritems", "omnium_shovel"), OMNIUM_SHOVEL);
Registry.register(Registry.ITEM, new Identifier("gameritems", "omnium_axe"), OMNIUM_AXE);
Registry.register(Registry.ITEM, new Identifier("gameritems", "omnium_hoe"), OMNIUM_HOE);
gamermod.LOGGER.info("omniumTools loaded");
gameritems.LOGGER.info("omniumTools loaded");
}
}

View File

@@ -1,6 +1,6 @@
package net.arcmods.ryantlg.items.tools;
import net.arcmods.ryantlg.gamermod;
import net.arcmods.ryantlg.gameritems;
import net.arcmods.ryantlg.customToolItemClasses.orium.OriumAxeItem;
import net.arcmods.ryantlg.customToolItemClasses.orium.OriumHoeItem;
import net.arcmods.ryantlg.customToolItemClasses.orium.OriumPickaxeItem;
@@ -15,20 +15,20 @@ import net.minecraft.util.registry.Registry;
public class oriumTools {
public static ToolItem ORIUM_SWORD = new OriumSwordItem(oriumToolMaterial.INSTANCE, 2, -2.2F, new Item.Settings().fireproof().group(gamermod.THING).rarity(Rarity.RARE));
public static ToolItem ORIUM_PICKAXE = new OriumPickaxeItem(oriumToolMaterial.INSTANCE, -3, -2.8F, new Item.Settings().fireproof().group(gamermod.THING).rarity(Rarity.RARE));
public static ToolItem ORIUM_SHOVEL = new OriumShovelItem(oriumToolMaterial.INSTANCE, -2.5F, -3.0F, new Item.Settings().fireproof().group(gamermod.THING).rarity(Rarity.RARE));
public static ToolItem ORIUM_AXE = new OriumAxeItem(oriumToolMaterial.INSTANCE, 4, -1.9F, new Item.Settings().fireproof().group(gamermod.THING).rarity(Rarity.RARE));
public static ToolItem ORIUM_HOE = new OriumHoeItem(oriumToolMaterial.INSTANCE, -8, -3.2F, new Item.Settings().fireproof().group(gamermod.THING).rarity(Rarity.RARE));
public static ToolItem ORIUM_SWORD = new OriumSwordItem(oriumToolMaterial.INSTANCE, 2, -2.2F, new Item.Settings().fireproof().group(gameritems.THING).rarity(Rarity.RARE));
public static ToolItem ORIUM_PICKAXE = new OriumPickaxeItem(oriumToolMaterial.INSTANCE, -3, -2.8F, new Item.Settings().fireproof().group(gameritems.THING).rarity(Rarity.RARE));
public static ToolItem ORIUM_SHOVEL = new OriumShovelItem(oriumToolMaterial.INSTANCE, -2.5F, -3.0F, new Item.Settings().fireproof().group(gameritems.THING).rarity(Rarity.RARE));
public static ToolItem ORIUM_AXE = new OriumAxeItem(oriumToolMaterial.INSTANCE, 4, -1.9F, new Item.Settings().fireproof().group(gameritems.THING).rarity(Rarity.RARE));
public static ToolItem ORIUM_HOE = new OriumHoeItem(oriumToolMaterial.INSTANCE, -8, -3.2F, new Item.Settings().fireproof().group(gameritems.THING).rarity(Rarity.RARE));
public static void register() {
Registry.register(Registry.ITEM, new Identifier("gamermod", "orium_sword"), ORIUM_SWORD);
Registry.register(Registry.ITEM, new Identifier("gamermod", "orium_pickaxe"), ORIUM_PICKAXE);
Registry.register(Registry.ITEM, new Identifier("gamermod", "orium_shovel"), ORIUM_SHOVEL);
Registry.register(Registry.ITEM, new Identifier("gamermod", "orium_axe"), ORIUM_AXE);
Registry.register(Registry.ITEM, new Identifier("gamermod", "orium_hoe"), ORIUM_HOE);
Registry.register(Registry.ITEM, new Identifier("gameritems", "orium_sword"), ORIUM_SWORD);
Registry.register(Registry.ITEM, new Identifier("gameritems", "orium_pickaxe"), ORIUM_PICKAXE);
Registry.register(Registry.ITEM, new Identifier("gameritems", "orium_shovel"), ORIUM_SHOVEL);
Registry.register(Registry.ITEM, new Identifier("gameritems", "orium_axe"), ORIUM_AXE);
Registry.register(Registry.ITEM, new Identifier("gameritems", "orium_hoe"), ORIUM_HOE);
gamermod.LOGGER.info("oriumTools loaded");
gameritems.LOGGER.info("oriumTools loaded");
}
}

View File

@@ -1,6 +1,6 @@
package net.arcmods.ryantlg.lootTables;
import net.arcmods.ryantlg.gamermod;
import net.arcmods.ryantlg.gameritems;
import net.arcmods.ryantlg.items.itemsByCrop.weemItems;
import net.fabricmc.fabric.api.loot.v1.FabricLootPoolBuilder;
import net.fabricmc.fabric.api.loot.v1.event.LootTableLoadingCallback;
@@ -33,6 +33,6 @@ public class grassVanillaWeem {
public static void register() {
modifyLootTables();
gamermod.LOGGER.info("grassVanillaWeem loaded");
gameritems.LOGGER.info("grassVanillaWeem loaded");
}
}

View File

@@ -1,6 +1,6 @@
package net.arcmods.ryantlg.mixin;
import net.arcmods.ryantlg.gamermod;
import net.arcmods.ryantlg.gameritems;
import net.minecraft.client.gui.screen.TitleScreen;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.injection.At;
@@ -11,6 +11,6 @@ import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
public class GamerMixin {
@Inject(at = @At("HEAD"), method = "init()V")
private void init(CallbackInfo info) {
gamermod.LOGGER.info("what a gamer");
gameritems.LOGGER.info("what a gamer");
}
}

View File

@@ -6,15 +6,15 @@ import net.minecraft.util.registry.Registry;
public class sounds {
public static final Identifier SNIFF = new Identifier("gamermod:sniff");
public static final Identifier SNIFF = new Identifier("gameritems:sniff");
public static SoundEvent SNIFF_SOUND_EVENT = new SoundEvent(SNIFF);
public static final Identifier MATT = new Identifier("gamermod:matt");
public static final Identifier MATT = new Identifier("gameritems:matt");
public static SoundEvent MATT_SOUND_EVENT = new SoundEvent(MATT);
public static final Identifier ELON = new Identifier("gamermod:elon");
public static final Identifier ELON = new Identifier("gameritems:elon");
public static SoundEvent ELON_SOUND_EVENT = new SoundEvent(ELON);
public static void register() {
gamermod.LOGGER.info("Sounds Loaded");
gameritems.LOGGER.info("Sounds Loaded");
Registry.register(Registry.SOUND_EVENT, sounds.SNIFF, SNIFF_SOUND_EVENT);
Registry.register(Registry.SOUND_EVENT, sounds.MATT, MATT_SOUND_EVENT);

View File

@@ -1,6 +1,6 @@
package net.arcmods.ryantlg.statusEffects;
import net.arcmods.ryantlg.gamermod;
import net.arcmods.ryantlg.gameritems;
import net.arcmods.ryantlg.statusEffects.effectClasses.highStatusEffect;
import net.arcmods.ryantlg.statusEffects.effectClasses.jeremydStatusEffect;
import net.minecraft.entity.effect.StatusEffect;
@@ -11,14 +11,14 @@ public class GamerEffects {
public static final StatusEffect HIGH = new highStatusEffect();
public static final StatusEffect JEREMYD = new jeremydStatusEffect();
//public static final StatusEffect JEREMYD = new jeremydStatusEffect();
public static void register() {
Registry.register(Registry.STATUS_EFFECT, new Identifier("gamermod", "high"), HIGH);
Registry.register(Registry.STATUS_EFFECT, new Identifier("gameritems", "high"), HIGH);
Registry.register(Registry.STATUS_EFFECT, new Identifier("gamermod", "jeremyd"), JEREMYD);
//Registry.register(Registry.STATUS_EFFECT, new Identifier("gameritems", "jeremyd"), JEREMYD);
gamermod.LOGGER.info("statusEffects Loaded");
gameritems.LOGGER.info("statusEffects Loaded");
}
}

View File

@@ -1,7 +1,7 @@
package net.arcmods.ryantlg.statusEffects.effectClasses;
import net.minecraft.entity.LivingEntity;
import net.minecraft.entity.damage.DamageSource;
//import net.minecraft.entity.damage.DamageSource;
import net.minecraft.entity.effect.StatusEffect;
import net.minecraft.entity.effect.StatusEffectCategory;
import net.minecraft.entity.player.PlayerEntity;
@@ -22,13 +22,9 @@ public class highStatusEffect extends StatusEffect{
@Override
public void applyUpdateEffect(LivingEntity entity, int amplifier) {
if (entity instanceof PlayerEntity) {
((PlayerEntity) entity).addExperience(0 << amplifier);
((PlayerEntity) entity).getFallSounds();
((PlayerEntity) entity).disableShield(true);
((PlayerEntity) entity).dismountVehicle();
((PlayerEntity) entity).damage(DamageSource.FALL, (float) 0.01);
((PlayerEntity) entity).heal(3 << amplifier);
((PlayerEntity) entity).getFallSounds();
}
}

View File

@@ -0,0 +1,31 @@
package net.arcmods.ryantlg.utils;
import net.arcmods.ryantlg.items.bows.gamerBow;
import net.minecraft.client.item.ModelPredicateProviderRegistry;
import net.minecraft.item.Item;
import net.minecraft.util.Identifier;
public class bowModelPredicateProvider {
public static void registerBowModels() {
registerBow(gamerBow.GAMER_BOW);
}
private static void registerBow(Item bow) {
ModelPredicateProviderRegistry.register(bow, new Identifier("pull"),
(stack, world, entity, seed) -> {
if (entity == null) {
return 0.0f;
}
if (entity.getActiveItem() != stack) {
return 0.0f;
}
return (float)(stack.getMaxUseTime() - entity.getItemUseTimeLeft()) / 20.0f;
});
ModelPredicateProviderRegistry.register(bow, new Identifier("pulling"),
(stack, world, entity, seed) -> entity != null && entity.isUsingItem()
&& entity.getActiveItem() == stack ? 1.0f : 0.0f);
}
}

View File

@@ -1,48 +1,64 @@
package net.arcmods.ryantlg.worldGeneration;
import net.arcmods.ryantlg.gamermod;
import java.util.Arrays;
import net.arcmods.ryantlg.gameritems;
import net.arcmods.ryantlg.blocks.omniumBlocks;
import net.fabricmc.fabric.api.biome.v1.BiomeModifications;
import net.fabricmc.fabric.api.biome.v1.BiomeSelectors;
import net.minecraft.util.registry.RegistryKey;
import net.minecraft.world.gen.YOffset;
import net.minecraft.world.gen.GenerationStep;
import net.minecraft.world.gen.decorator.CountPlacementModifier;
import net.minecraft.world.gen.decorator.HeightRangePlacementModifier;
import net.minecraft.world.gen.decorator.SquarePlacementModifier;
import net.minecraft.world.gen.feature.ConfiguredFeature;
import net.minecraft.world.gen.feature.Feature;
import net.minecraft.world.gen.feature.OreConfiguredFeatures;
import net.minecraft.world.gen.feature.OreFeatureConfig;
import net.minecraft.world.gen.feature.PlacedFeature;
import net.minecraft.world.gen.placementmodifier.CountPlacementModifier;
import net.minecraft.world.gen.placementmodifier.HeightRangePlacementModifier;
import net.minecraft.world.gen.placementmodifier.SquarePlacementModifier;
import net.minecraft.util.registry.BuiltinRegistries;
import net.minecraft.util.registry.Registry;
import net.minecraft.util.registry.RegistryEntry;
import net.minecraft.util.Identifier;
public class DeepslateOmniumOreGen {
private static ConfiguredFeature<?, ?> ORE_CONFIGURED_FEATURE = Feature.ORE.configure(new OreFeatureConfig(
/*private static ConfiguredFeature<?, ?> ORE_CONFIGURED_FEATURE = Feature.ORE.configure(new OreFeatureConfig(
OreConfiguredFeatures.DEEPSLATE_ORE_REPLACEABLES,
omniumBlocks.DEEPSLATE_OMNIUM_ORE.getDefaultState(),
4)); // vein size
4)); // vein size*/
private static ConfiguredFeature<?, ?> ORE_CONFIGURED_FEATURE = new ConfiguredFeature(
Feature.ORE, new OreFeatureConfig(
OreConfiguredFeatures.DEEPSLATE_ORE_REPLACEABLES,
omniumBlocks.DEEPSLATE_OMNIUM_ORE.getDefaultState(),
4)); // vein size
public static PlacedFeature ORE_PLACED_FEATURE = ORE_CONFIGURED_FEATURE.withPlacement(
/*public static PlacedFeature ORE_PLACED_FEATURE = ORE_CONFIGURED_FEATURE.withPlacement(
CountPlacementModifier.of(2), // number of veins per chunk
SquarePlacementModifier.of(), // spreading horizontally
HeightRangePlacementModifier.uniform(YOffset.getBottom(), YOffset.fixed(19))); // height
HeightRangePlacementModifier.uniform(YOffset.getBottom(), YOffset.fixed(19))); // height*/
public static PlacedFeature ORE_PLACED_FEATURE = new PlacedFeature(
RegistryEntry.of(ORE_CONFIGURED_FEATURE),
Arrays.asList(
CountPlacementModifier.of(2), // number of veins per chunk
SquarePlacementModifier.of(), // spreading horizontally
HeightRangePlacementModifier.uniform(YOffset.getBottom(), YOffset.fixed(19))
)); // height
public static void register() {
Registry.register(BuiltinRegistries.CONFIGURED_FEATURE,
new Identifier("gamermod", "deepslate_omnium_ore"), ORE_CONFIGURED_FEATURE);
Registry.register(BuiltinRegistries.PLACED_FEATURE, new Identifier("gamermod", "deepslate_omnium_ore"),
ORE_PLACED_FEATURE);
BiomeModifications.addFeature(BiomeSelectors.foundInOverworld(), GenerationStep.Feature.UNDERGROUND_ORES,
RegistryKey.of(Registry.PLACED_FEATURE_KEY,
new Identifier("gamermod", "deepslate_omnium_ore")));
new Identifier("gameritems", "deepslate_omnium_ore"), ORE_CONFIGURED_FEATURE);
Registry.register(BuiltinRegistries.PLACED_FEATURE, new Identifier("gameritems", "deepslate_omnium_ore"),
ORE_PLACED_FEATURE);
BiomeModifications.addFeature(BiomeSelectors.foundInOverworld(), GenerationStep.Feature.UNDERGROUND_ORES,
RegistryKey.of(Registry.PLACED_FEATURE_KEY,
new Identifier("gameritems", "deepslate_omnium_ore")));
gamermod.LOGGER.info("DeepslateOmniumOreGen loaded");
gameritems.LOGGER.info("DeepslateOmniumOreGen loaded");
}
}

View File

@@ -1,48 +1,64 @@
package net.arcmods.ryantlg.worldGeneration;
import net.arcmods.ryantlg.gamermod;
import java.util.Arrays;
import net.arcmods.ryantlg.gameritems;
import net.arcmods.ryantlg.blocks.oriumBlocks;
import net.fabricmc.fabric.api.biome.v1.BiomeModifications;
import net.fabricmc.fabric.api.biome.v1.BiomeSelectors;
import net.minecraft.util.registry.RegistryKey;
import net.minecraft.world.gen.YOffset;
import net.minecraft.world.gen.GenerationStep;
import net.minecraft.world.gen.decorator.CountPlacementModifier;
import net.minecraft.world.gen.decorator.HeightRangePlacementModifier;
import net.minecraft.world.gen.decorator.SquarePlacementModifier;
import net.minecraft.world.gen.feature.ConfiguredFeature;
import net.minecraft.world.gen.feature.Feature;
import net.minecraft.world.gen.feature.OreConfiguredFeatures;
import net.minecraft.world.gen.feature.OreFeatureConfig;
import net.minecraft.world.gen.feature.PlacedFeature;
import net.minecraft.world.gen.placementmodifier.CountPlacementModifier;
import net.minecraft.world.gen.placementmodifier.HeightRangePlacementModifier;
import net.minecraft.world.gen.placementmodifier.SquarePlacementModifier;
import net.minecraft.util.registry.BuiltinRegistries;
import net.minecraft.util.registry.Registry;
import net.minecraft.util.registry.RegistryEntry;
import net.minecraft.util.Identifier;
public class DeepslateOriumOreGen {
private static ConfiguredFeature<?, ?> ORE_CONFIGURED_FEATURE = Feature.ORE.configure(new OreFeatureConfig(
OreConfiguredFeatures.DEEPSLATE_ORE_REPLACEABLES,
oriumBlocks.DEEPSLATE_ORIUM_ORE.getDefaultState(),
5)); // vein size
public static PlacedFeature ORE_PLACED_FEATURE = ORE_CONFIGURED_FEATURE.withPlacement(
CountPlacementModifier.of(5), // number of veins per chunk
SquarePlacementModifier.of(), // spreading horizontally
HeightRangePlacementModifier.uniform(YOffset.getBottom(), YOffset.fixed(35))); // height
// private static ConfiguredFeature<?, ?> ORE_CONFIGURED_FEATURE = Feature.ORE.configure(new OreFeatureConfig(
// OreConfiguredFeatures.DEEPSLATE_ORE_REPLACEABLES,
// oriumBlocks.DEEPSLATE_ORIUM_ORE.getDefaultState(),
// 5)); // vein size
private static ConfiguredFeature<?, ?> ORE_CONFIGURED_FEATURE = new ConfiguredFeature(
Feature.ORE, new OreFeatureConfig(
OreConfiguredFeatures.DEEPSLATE_ORE_REPLACEABLES,
oriumBlocks.DEEPSLATE_ORIUM_ORE.getDefaultState(),
5)); // vein size
// public static PlacedFeature ORE_PLACED_FEATURE = ORE_CONFIGURED_FEATURE.withPlacement(
// CountPlacementModifier.of(5), // number of veins per chunk
// SquarePlacementModifier.of(), // spreading horizontally
// HeightRangePlacementModifier.uniform(YOffset.getBottom(), YOffset.fixed(35))); // height
public static PlacedFeature ORE_PLACED_FEATURE = new PlacedFeature(
RegistryEntry.of(ORE_CONFIGURED_FEATURE),
Arrays.asList(
CountPlacementModifier.of(5), // number of veins per chunk
SquarePlacementModifier.of(), // spreading horizontally
HeightRangePlacementModifier.uniform(YOffset.getBottom(), YOffset.fixed(35))
)); // height
public static void register() {
Registry.register(BuiltinRegistries.CONFIGURED_FEATURE,
new Identifier("gamermod", "deepslate_orium_ore"), ORE_CONFIGURED_FEATURE);
Registry.register(BuiltinRegistries.PLACED_FEATURE, new Identifier("gamermod", "deepslate_orium_ore"),
new Identifier("gameritems", "deepslate_orium_ore"), ORE_CONFIGURED_FEATURE);
Registry.register(BuiltinRegistries.PLACED_FEATURE, new Identifier("gameritems", "deepslate_orium_ore"),
ORE_PLACED_FEATURE);
BiomeModifications.addFeature(BiomeSelectors.foundInOverworld(), GenerationStep.Feature.UNDERGROUND_ORES,
RegistryKey.of(Registry.PLACED_FEATURE_KEY,
new Identifier("gamermod", "deepslate_orium_ore")));
new Identifier("gameritems", "deepslate_orium_ore")));
gamermod.LOGGER.info("DeepslateOriumOreGen loaded");
gameritems.LOGGER.info("DeepslateOriumOreGen loaded");
}
}

View File

@@ -1,49 +1,63 @@
package net.arcmods.ryantlg.worldGeneration;
import net.arcmods.ryantlg.gamermod;
import java.util.Arrays;
import net.arcmods.ryantlg.gameritems;
import net.arcmods.ryantlg.blocks.jeremiumBlocks;
import net.fabricmc.fabric.api.biome.v1.BiomeModifications;
import net.fabricmc.fabric.api.biome.v1.BiomeSelectors;
import net.minecraft.util.registry.RegistryKey;
import net.minecraft.world.gen.YOffset;
import net.minecraft.world.gen.GenerationStep;
import net.minecraft.world.gen.decorator.CountPlacementModifier;
import net.minecraft.world.gen.decorator.HeightRangePlacementModifier;
import net.minecraft.world.gen.decorator.SquarePlacementModifier;
import net.minecraft.world.gen.feature.ConfiguredFeature;
import net.minecraft.world.gen.feature.Feature;
import net.minecraft.world.gen.feature.OreConfiguredFeatures;
import net.minecraft.world.gen.feature.OreFeatureConfig;
import net.minecraft.world.gen.feature.PlacedFeature;
import net.minecraft.world.gen.placementmodifier.CountPlacementModifier;
import net.minecraft.world.gen.placementmodifier.HeightRangePlacementModifier;
import net.minecraft.world.gen.placementmodifier.SquarePlacementModifier;
import net.minecraft.util.registry.BuiltinRegistries;
import net.minecraft.util.registry.Registry;
import net.minecraft.util.registry.RegistryEntry;
import net.minecraft.util.Identifier;
public class JeremiumOreGen {
private static ConfiguredFeature<?, ?> ORE_CONFIGURED_FEATURE = Feature.ORE.configure(new OreFeatureConfig(
OreConfiguredFeatures.DEEPSLATE_ORE_REPLACEABLES,
jeremiumBlocks.DEEPSLATE_JEREMIUM_ORE.getDefaultState(),
3)); // vein size
// private static ConfiguredFeature<?, ?> ORE_CONFIGURED_FEATURE = Feature.ORE.configure(new OreFeatureConfig(
// OreConfiguredFeatures.DEEPSLATE_ORE_REPLACEABLES,
// jeremiumBlocks.DEEPSLATE_JEREMIUM_ORE.getDefaultState(),
// 3)); // vein size
private static ConfiguredFeature<?, ?> ORE_CONFIGURED_FEATURE = new ConfiguredFeature(
Feature.ORE, new OreFeatureConfig(
OreConfiguredFeatures.DEEPSLATE_ORE_REPLACEABLES,
jeremiumBlocks.DEEPSLATE_JEREMIUM_ORE.getDefaultState(),
3)); // vein size
public static PlacedFeature ORE_PLACED_FEATURE = ORE_CONFIGURED_FEATURE.withPlacement(
CountPlacementModifier.of(1), // number of veins per chunk
SquarePlacementModifier.of(), // spreading horizontally
HeightRangePlacementModifier.uniform(YOffset.getBottom(), YOffset.fixed(-4))); // height
// public static PlacedFeature ORE_PLACED_FEATURE = ORE_CONFIGURED_FEATURE.withPlacement(
// CountPlacementModifier.of(1), // number of veins per chunk
// SquarePlacementModifier.of(), // spreading horizontally
// HeightRangePlacementModifier.uniform(YOffset.getBottom(), YOffset.fixed(-4))); // height
public static PlacedFeature ORE_PLACED_FEATURE = new PlacedFeature(
RegistryEntry.of(ORE_CONFIGURED_FEATURE),
Arrays.asList(
CountPlacementModifier.of(1), // number of veins per chunk
SquarePlacementModifier.of(), // spreading horizontally
HeightRangePlacementModifier.uniform(YOffset.getBottom(), YOffset.fixed(-4))
)); // height
public static void register() {
Registry.register(BuiltinRegistries.CONFIGURED_FEATURE,
new Identifier("gamermod", "deepslate_jeremium_ore"), ORE_CONFIGURED_FEATURE);
Registry.register(BuiltinRegistries.PLACED_FEATURE, new Identifier("gamermod", "deepslate_jeremium_ore"),
new Identifier("gameritems", "deepslate_jeremium_ore"), ORE_CONFIGURED_FEATURE);
Registry.register(BuiltinRegistries.PLACED_FEATURE, new Identifier("gameritems", "deepslate_jeremium_ore"),
ORE_PLACED_FEATURE);
BiomeModifications.addFeature(BiomeSelectors.foundInOverworld(), GenerationStep.Feature.UNDERGROUND_ORES,
RegistryKey.of(Registry.PLACED_FEATURE_KEY,
new Identifier("gamermod", "deepslate_jeremium_ore")));
new Identifier("gameritems", "deepslate_jeremium_ore")));
gamermod.LOGGER.info("JeremiumOreGen loaded");
gameritems.LOGGER.info("JeremiumOreGen loaded");
}
}

View File

@@ -1,48 +1,64 @@
package net.arcmods.ryantlg.worldGeneration;
import net.arcmods.ryantlg.gamermod;
import java.util.Arrays;
import net.arcmods.ryantlg.gameritems;
import net.arcmods.ryantlg.blocks.omniumBlocks;
import net.fabricmc.fabric.api.biome.v1.BiomeModifications;
import net.fabricmc.fabric.api.biome.v1.BiomeSelectors;
import net.minecraft.util.registry.RegistryKey;
import net.minecraft.world.gen.YOffset;
import net.minecraft.world.gen.GenerationStep;
import net.minecraft.world.gen.decorator.CountPlacementModifier;
import net.minecraft.world.gen.decorator.HeightRangePlacementModifier;
import net.minecraft.world.gen.decorator.SquarePlacementModifier;
import net.minecraft.world.gen.feature.ConfiguredFeature;
import net.minecraft.world.gen.feature.Feature;
import net.minecraft.world.gen.feature.OreConfiguredFeatures;
import net.minecraft.world.gen.feature.OreFeatureConfig;
import net.minecraft.world.gen.feature.PlacedFeature;
import net.minecraft.world.gen.placementmodifier.CountPlacementModifier;
import net.minecraft.world.gen.placementmodifier.HeightRangePlacementModifier;
import net.minecraft.world.gen.placementmodifier.SquarePlacementModifier;
import net.minecraft.util.registry.BuiltinRegistries;
import net.minecraft.util.registry.Registry;
import net.minecraft.util.registry.RegistryEntry;
import net.minecraft.util.Identifier;
public class OmniumOreGen {
private static ConfiguredFeature<?, ?> OMNIUM_ORE_CONFIGURED_FEATURE = Feature.ORE.configure(new OreFeatureConfig(
OreConfiguredFeatures.STONE_ORE_REPLACEABLES,
omniumBlocks.OMNIUM_ORE.getDefaultState(),
4)); // vein size
// private static ConfiguredFeature<?, ?> OMNIUM_ORE_CONFIGURED_FEATURE = Feature.ORE.configure(new OreFeatureConfig(
// OreConfiguredFeatures.STONE_ORE_REPLACEABLES,
// omniumBlocks.OMNIUM_ORE.getDefaultState(),
// 4)); // vein size
private static ConfiguredFeature<?, ?> ORE_CONFIGURED_FEATURE = new ConfiguredFeature(
Feature.ORE, new OreFeatureConfig(
OreConfiguredFeatures.STONE_ORE_REPLACEABLES,
omniumBlocks.OMNIUM_ORE.getDefaultState(),
4)); // vein size
public static PlacedFeature OMNIUM_ORE_PLACED_FEATURE = OMNIUM_ORE_CONFIGURED_FEATURE.withPlacement(
CountPlacementModifier.of(2), // number of veins per chunk
SquarePlacementModifier.of(), // spreading horizontally
HeightRangePlacementModifier.uniform(YOffset.getBottom(), YOffset.fixed(19))); // height
// public static PlacedFeature OMNIUM_ORE_PLACED_FEATURE = OMNIUM_ORE_CONFIGURED_FEATURE.withPlacement(
// CountPlacementModifier.of(2), // number of veins per chunk
// SquarePlacementModifier.of(), // spreading horizontally
// HeightRangePlacementModifier.uniform(YOffset.getBottom(), YOffset.fixed(19))); // height
public static PlacedFeature ORE_PLACED_FEATURE = new PlacedFeature(
RegistryEntry.of(ORE_CONFIGURED_FEATURE),
Arrays.asList(
CountPlacementModifier.of(2), // number of veins per chunk
SquarePlacementModifier.of(), // spreading horizontally
HeightRangePlacementModifier.uniform(YOffset.getBottom(), YOffset.fixed(19))
)); // height
public static void register() {
Registry.register(BuiltinRegistries.CONFIGURED_FEATURE,
new Identifier("gamermod", "omnium_ore"), OMNIUM_ORE_CONFIGURED_FEATURE);
Registry.register(BuiltinRegistries.PLACED_FEATURE, new Identifier("gamermod", "omnium_ore"),
OMNIUM_ORE_PLACED_FEATURE);
new Identifier("gameritems", "omnium_ore"), ORE_CONFIGURED_FEATURE);
Registry.register(BuiltinRegistries.PLACED_FEATURE, new Identifier("gameritems", "omnium_ore"),
ORE_PLACED_FEATURE);
BiomeModifications.addFeature(BiomeSelectors.foundInOverworld(), GenerationStep.Feature.UNDERGROUND_ORES,
RegistryKey.of(Registry.PLACED_FEATURE_KEY,
new Identifier("gamermod", "omnium_ore")));
new Identifier("gameritems", "omnium_ore")));
gamermod.LOGGER.info("OmniumOreGen loaded");
gameritems.LOGGER.info("OmniumOreGen loaded");
}
}

View File

@@ -1,48 +1,63 @@
package net.arcmods.ryantlg.worldGeneration;
import net.arcmods.ryantlg.gamermod;
import java.util.Arrays;
import net.arcmods.ryantlg.gameritems;
import net.arcmods.ryantlg.blocks.oriumBlocks;
import net.fabricmc.fabric.api.biome.v1.BiomeModifications;
import net.fabricmc.fabric.api.biome.v1.BiomeSelectors;
import net.minecraft.util.registry.RegistryKey;
import net.minecraft.world.gen.YOffset;
import net.minecraft.world.gen.GenerationStep;
import net.minecraft.world.gen.decorator.CountPlacementModifier;
import net.minecraft.world.gen.decorator.HeightRangePlacementModifier;
import net.minecraft.world.gen.decorator.SquarePlacementModifier;
import net.minecraft.world.gen.feature.ConfiguredFeature;
import net.minecraft.world.gen.feature.Feature;
import net.minecraft.world.gen.feature.OreConfiguredFeatures;
import net.minecraft.world.gen.feature.OreFeatureConfig;
import net.minecraft.world.gen.feature.PlacedFeature;
import net.minecraft.world.gen.placementmodifier.CountPlacementModifier;
import net.minecraft.world.gen.placementmodifier.HeightRangePlacementModifier;
import net.minecraft.world.gen.placementmodifier.SquarePlacementModifier;
import net.minecraft.util.registry.BuiltinRegistries;
import net.minecraft.util.registry.Registry;
import net.minecraft.util.registry.RegistryEntry;
import net.minecraft.util.Identifier;
public class OriumOreGen {
private static ConfiguredFeature<?, ?> ORIUM_ORE_CONFIGURED_FEATURE = Feature.ORE.configure(new OreFeatureConfig(
OreConfiguredFeatures.STONE_ORE_REPLACEABLES,
oriumBlocks.ORIUM_ORE.getDefaultState(),
5)); // vein size
// private static ConfiguredFeature<?, ?> ORIUM_ORE_CONFIGURED_FEATURE = Feature.ORE.configure(new OreFeatureConfig(
// OreConfiguredFeatures.STONE_ORE_REPLACEABLES,
// oriumBlocks.ORIUM_ORE.getDefaultState(),
// 5)); // vein size
private static ConfiguredFeature<?, ?> ORE_CONFIGURED_FEATURE = new ConfiguredFeature(
Feature.ORE, new OreFeatureConfig(
OreConfiguredFeatures.STONE_ORE_REPLACEABLES,
oriumBlocks.ORIUM_ORE.getDefaultState(),
5)); // vein size
public static PlacedFeature ORIUM_ORE_PLACED_FEATURE = ORIUM_ORE_CONFIGURED_FEATURE.withPlacement(
CountPlacementModifier.of(5), // number of veins per chunk
SquarePlacementModifier.of(), // spreading horizontally
HeightRangePlacementModifier.uniform(YOffset.getBottom(), YOffset.fixed(35))); // height
// public static PlacedFeature ORIUM_ORE_PLACED_FEATURE = ORIUM_ORE_CONFIGURED_FEATURE.withPlacement(
// CountPlacementModifier.of(5), // number of veins per chunk
// SquarePlacementModifier.of(), // spreading horizontally
// HeightRangePlacementModifier.uniform(YOffset.getBottom(), YOffset.fixed(35))); // height
public static PlacedFeature ORE_PLACED_FEATURE = new PlacedFeature(
RegistryEntry.of(ORE_CONFIGURED_FEATURE),
Arrays.asList(
CountPlacementModifier.of(5), // number of veins per chunk
SquarePlacementModifier.of(), // spreading horizontally
HeightRangePlacementModifier.uniform(YOffset.getBottom(), YOffset.fixed(35))
)); // height
public static void register() {
Registry.register(BuiltinRegistries.CONFIGURED_FEATURE,
new Identifier("gamermod", "orium_ore"), ORIUM_ORE_CONFIGURED_FEATURE);
Registry.register(BuiltinRegistries.PLACED_FEATURE, new Identifier("gamermod", "orium_ore"),
ORIUM_ORE_PLACED_FEATURE);
new Identifier("gameritems", "orium_ore"), ORE_CONFIGURED_FEATURE);
Registry.register(BuiltinRegistries.PLACED_FEATURE, new Identifier("gameritems", "orium_ore"),
ORE_PLACED_FEATURE);
BiomeModifications.addFeature(BiomeSelectors.foundInOverworld(), GenerationStep.Feature.UNDERGROUND_ORES,
RegistryKey.of(Registry.PLACED_FEATURE_KEY,
new Identifier("gamermod", "orium_ore")));
new Identifier("gameritems", "orium_ore")));
gamermod.LOGGER.info("OriumOreGen loaded");
gameritems.LOGGER.info("OriumOreGen loaded");
}
}

View File

@@ -0,0 +1,5 @@
{
"variants": {
"": { "model": "gameritems:block/deepslate_jeremium_ore" }
}
}

View File

@@ -0,0 +1,5 @@
{
"variants": {
"": { "model": "gameritems:block/deepslate_omnium_ore" }
}
}

View File

@@ -0,0 +1,5 @@
{
"variants": {
"": { "model": "gameritems:block/deepslate_orium_ore" }
}
}

View File

@@ -0,0 +1,5 @@
{
"variants": {
"": { "model": "gameritems:block/elon_musk" }
}
}

View File

@@ -0,0 +1,5 @@
{
"variants": {
"": { "model": "gameritems:block/jeremium_block" }
}
}

View File

@@ -0,0 +1,5 @@
{
"variants": {
"": { "model": "gameritems:block/jeremium_ore" }
}
}

View File

@@ -0,0 +1,5 @@
{
"variants": {
"": { "model": "gameritems:block/matt_damon" }
}
}

View File

@@ -0,0 +1,5 @@
{
"variants": {
"": { "model": "gameritems:block/omnium_block" }
}
}

View File

@@ -0,0 +1,5 @@
{
"variants": {
"": { "model": "gameritems:block/omnium_ore" }
}
}

View File

@@ -0,0 +1,5 @@
{
"variants": {
"": { "model": "gameritems:block/orium_block" }
}
}

View File

@@ -0,0 +1,5 @@
{
"variants": {
"": { "model": "gameritems:block/orium_ore" }
}
}

View File

@@ -0,0 +1,28 @@
{
"variants": {
"age=0": {
"model": "gameritems:block/weem_crop_stage0"
},
"age=1": {
"model": "gameritems:block/weem_crop_stage1"
},
"age=2": {
"model": "gameritems:block/weem_crop_stage2"
},
"age=3": {
"model": "gameritems:block/weem_crop_stage3"
},
"age=4": {
"model": "gameritems:block/weem_crop_stage4"
},
"age=5": {
"model": "gameritems:block/weem_crop_stage5"
},
"age=6": {
"model": "gameritems:block/weem_crop_stage6"
},
"age=7": {
"model": "gameritems:block/weem_crop_stage7"
}
}
}

View File

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 30 KiB

View File

@@ -0,0 +1,74 @@
{
"item.gameritems.chin": "your chin",
"itemGroup.gameritems.chins": "funny stuff",
"item.gameritems.nuts": "nuts",
"item.gameritems.deez": "deez",
"item.gameritems.deez_nuts": "deez nuts",
"item.gameritems.deez_nuts_on_your_chin": "deez nuts on your chin",
"item.gameritems.drag": "drag",
"item.gameritems.drag_deez_nuts_on_your_chin": "drag deez nuts on our chin",
"item.gameritems.omnium_ingot": "Omnium Ingot",
"block.gameritems.omnium_ore": "Omnium Ore",
"block.gameritems.omnium_block": "Omnium Block",
"item.gameritems.raw_omnium": "Raw Omnium",
"item.gameritems.your_mother": "your mother",
"block.gameritems.matt_damon": "matt damon",
"item.gameritems.omnium_sword": "Omnium Sword",
"item.gameritems.omnium_pickaxe": "Omnium Pickaxe",
"item.gameritems.omnium_helmet": "Omnium Helmet",
"item.gameritems.omnium_chestplate": "Omnium Chestplate",
"item.gameritems.omnium_leggings": "Omnium Leggings",
"item.gameritems.omnium_boots": "Omnium Boots",
"item.gameritems.omnium_shovel": "Omnium Shovel",
"item.gameritems.omnium_axe": "Omnium Axe",
"item.gameritems.omnium_hoe": "Omnium Hoe",
"item.gameritems.netherite_stick": "Netherite Stick",
"itemGroup.gameritems.things": "ueh, stuff",
"itemGroup.gameritems.armour_and_tools": "Armour, Weapons, and Tools",
"item.gameritems.omnium_sword.tooltip": "Surprisingly lightweight!",
"item.gameritems.weem": "Weem",
"item.gameritems.weem_seeds": "Weem Seeds",
"item.gameritems.breem": "Breem",
"item.gameritems.breem.tooltip": "High as a kite!",
"item.gameritems.weem.tooltip": "Higher than a kite!",
"item.gameritems.weem_apple": "Weem Apple",
"item.gameritems.orium.tooltip": "hahaha ore-ium",
"block.gameritems.orium.tooltip": "hahaha ore-ium",
"item.gameritems.raw_orium": "Raw Orium",
"item.gameritems.orium_ingot": "Orium Ingot",
"block.gameritems.orium_ore": "Orium Ore",
"block.gameritems.orium_block": "Orium Block",
"item.gameritems.orium_helmet": "Orium Helmet",
"item.gameritems.orium_chestplate": "Orium Chestplate",
"item.gameritems.orium_leggings": "Orium Leggings",
"item.gameritems.orium_boots": "Orium Boots",
"item.gameritems.orium_shovel": "Orium Shovel",
"item.gameritems.orium_axe": "Orium Axe",
"item.gameritems.orium_hoe": "Orium Hoe",
"item.gameritems.orium_sword": "Orium Sword",
"item.gameritems.orium_pickaxe": "Orium Pickaxe",
"item.gameritems.fabric_of_reality.tooltip": "Warning: has a chance to get §o§l§4RIPPED§r.",
"item.gameritems.fabric_of_reality": "Fabric of Reality",
"effect.gameritems.high": "High",
"item.gameritems.jeremium_ingot": "Jeremium Ingot",
"item.gameritems.raw_jeremium": "Raw Jeremium",
"block.gameritems.jeremium_ore": "Jeremium Ore",
"block.gameritems.jeremium_block": "Jeremium Block",
"item.gameritems.jeremium_helmet": "Jeremium Helmet",
"item.gameritems.jeremium_chestplate": "Jeremium Chestplate",
"item.gameritems.jeremium_leggings": "Jeremium Leggings",
"item.gameritems.jeremium_boots": "Jeremium Boots",
"block.gameritems.jeremium.tooltip": "Heavy, but emits light.",
"all.gameritems.jeremium.tooltiptwo": "Less able to fit in a stack because it's heavy",
"item.gameritems.jeremium_sword": "Jeremium Sword",
"item.gameritems.jeremium_axe": "Jeremium Axe",
"item.gameritems.jeremium_hoe": "Jeremium Hoe",
"item.gameritems.jeremium_shovel": "Jeremium Shovel",
"item.gameritems.jeremium_pickaxe": "Jeremium Pickaxe",
"item.gameritems.jeremium_sword.tooltip": "Kinda heavy",
"block.gameritems.deepslate_jeremium_ore": "Deepslate Jeremium Ore",
"block.gameritems.deepslate_omnium_ore": "Deepslate Omnium Ore",
"block.gameritems.deepslate_orium_ore": "Deepslate Orium Ore",
"item.gameritems.gamer_bow": "Gamer Bow"
}

View File

@@ -1,6 +1,6 @@
{
"parent": "block/cube_all",
"textures": {
"all": "gamermod:block/deepslate_jeremium_ore"
"all": "gameritems:block/deepslate_jeremium_ore"
}
}

View File

@@ -1,6 +1,6 @@
{
"parent": "block/cube_all",
"textures": {
"all": "gamermod:block/deepslate_omnium_ore"
"all": "gameritems:block/deepslate_omnium_ore"
}
}

View File

@@ -1,6 +1,6 @@
{
"parent": "block/cube_all",
"textures": {
"all": "gamermod:block/deepslate_orium_ore"
"all": "gameritems:block/deepslate_orium_ore"
}
}

View File

@@ -1,6 +1,6 @@
{
"parent": "block/cube_all",
"textures": {
"all": "gamermod:block/elon_musk"
"all": "gameritems:block/elon_musk"
}
}

View File

@@ -1,6 +1,6 @@
{
"parent": "block/cube_all",
"textures": {
"all": "gamermod:block/jeremium_block"
"all": "gameritems:block/jeremium_block"
}
}

View File

@@ -1,6 +1,6 @@
{
"parent": "block/cube_all",
"textures": {
"all": "gamermod:block/jeremium_ore"
"all": "gameritems:block/jeremium_ore"
}
}

View File

@@ -1,6 +1,6 @@
{
"parent": "block/cube_all",
"textures": {
"all": "gamermod:block/matt_damon"
"all": "gameritems:block/matt_damon"
}
}

View File

@@ -1,6 +1,6 @@
{
"parent": "block/cube_all",
"textures": {
"all": "gamermod:block/omnium_block"
"all": "gameritems:block/omnium_block"
}
}

View File

@@ -1,6 +1,6 @@
{
"parent": "block/cube_all",
"textures": {
"all": "gamermod:block/omnium_ore"
"all": "gameritems:block/omnium_ore"
}
}

View File

@@ -1,6 +1,6 @@
{
"parent": "block/cube_all",
"textures": {
"all": "gamermod:block/orium_block"
"all": "gameritems:block/orium_block"
}
}

View File

@@ -1,6 +1,6 @@
{
"parent": "block/cube_all",
"textures": {
"all": "gamermod:block/orium_ore"
"all": "gameritems:block/orium_ore"
}
}

View File

@@ -1,6 +1,6 @@
{
"parent": "minecraft:block/crop",
"textures": {
"crop": "gamermod:block/weem_stage0"
"crop": "gameritems:block/weem_stage0"
}
}

View File

@@ -1,6 +1,6 @@
{
"parent": "minecraft:block/crop",
"textures": {
"crop": "gamermod:block/weem_stage1"
"crop": "gameritems:block/weem_stage1"
}
}

View File

@@ -1,6 +1,6 @@
{
"parent": "minecraft:block/crop",
"textures": {
"crop": "gamermod:block/weem_stage2"
"crop": "gameritems:block/weem_stage2"
}
}

View File

@@ -1,6 +1,6 @@
{
"parent": "minecraft:block/crop",
"textures": {
"crop": "gamermod:block/weem_stage3"
"crop": "gameritems:block/weem_stage3"
}
}

View File

@@ -1,6 +1,6 @@
{
"parent": "minecraft:block/crop",
"textures": {
"crop": "gamermod:block/weem_stage4"
"crop": "gameritems:block/weem_stage4"
}
}

View File

@@ -1,6 +1,6 @@
{
"parent": "minecraft:block/crop",
"textures": {
"crop": "gamermod:block/weem_stage5"
"crop": "gameritems:block/weem_stage5"
}
}

View File

@@ -1,6 +1,6 @@
{
"parent": "minecraft:block/crop",
"textures": {
"crop": "gamermod:block/weem_stage6"
"crop": "gameritems:block/weem_stage6"
}
}

View File

@@ -1,6 +1,6 @@
{
"parent": "minecraft:block/crop",
"textures": {
"crop": "gamermod:block/weem_stage7"
"crop": "gameritems:block/weem_stage7"
}
}

View File

@@ -1,6 +1,6 @@
{
"parent": "item/generated",
"textures": {
"layer0": "gamermod:item/breem"
"layer0": "gameritems:item/breem"
}
}

View File

@@ -1,6 +1,6 @@
{
"parent": "item/generated",
"textures": {
"layer0": "gamermod:item/chin"
"layer0": "gameritems:item/chin"
}
}

View File

@@ -0,0 +1,3 @@
{
"parent": "gameritems:block/deepslate_jeremium_ore"
}

View File

@@ -0,0 +1,3 @@
{
"parent": "gameritems:block/deepslate_omnium_ore"
}

View File

@@ -0,0 +1,3 @@
{
"parent": "gameritems:block/deepslate_orium_ore"
}

View File

@@ -1,6 +1,6 @@
{
"parent": "item/generated",
"textures": {
"layer0": "gamermod:item/deez"
"layer0": "gameritems:item/deez"
}
}

View File

@@ -1,6 +1,6 @@
{
"parent": "item/generated",
"textures": {
"layer0": "gamermod:item/deez_nuts"
"layer0": "gameritems:item/deez_nuts"
}
}

View File

@@ -1,6 +1,6 @@
{
"parent": "item/generated",
"textures": {
"layer0": "gamermod:item/deez_nuts_on_chin"
"layer0": "gameritems:item/deez_nuts_on_chin"
}
}

View File

@@ -1,6 +1,6 @@
{
"parent": "item/generated",
"textures": {
"layer0": "gamermod:item/drag"
"layer0": "gameritems:item/drag"
}
}

View File

@@ -0,0 +1,6 @@
{
"parent": "item/generated",
"textures": {
"layer0": "gameritems:item/drag_deez_nuts_on_your_chin"
}
}

View File

@@ -0,0 +1,3 @@
{
"parent": "gameritems:block/elon_musk"
}

View File

@@ -1,6 +1,6 @@
{
"parent": "item/generated",
"textures": {
"layer0": "gamermod:item/fabric_of_reality"
"layer0": "gameritems:item/fabric_of_reality"
}
}

View File

@@ -0,0 +1,98 @@
{
"parent": "minecraft:item/generated",
"display": {
"thirdperson_righthand": {
"rotation": [
-80,
260,
-40
],
"translation": [
-1,
-2,
2.5
],
"scale": [
0.9,
0.9,
0.9
]
},
"thirdperson_lefthand": {
"rotation": [
-80,
280,
40
],
"translation": [
-1,
-2,
2.5
],
"scale": [
0.9,
0.9,
0.9
]
},
"firstperson_righthand": {
"rotation": [
0,
-90,
25
],
"translation": [
1.13,
3.2,
1.13
],
"scale": [
0.68,
0.68,
0.68
]
},
"firstperson_lefthand": {
"rotation": [
0,
90,
-25
],
"translation": [
1.13,
3.2,
1.13
],
"scale": [
0.68,
0.68,
0.68
]
}
},
"textures": {
"layer0": "gameritems:item/gamer_bow"
},
"overrides": [
{
"predicate": {
"minecraft:pulling": 1
},
"model": "gameritems:item/gamer_bow_pulling_0"
},
{
"predicate": {
"minecraft:pulling": 1,
"minecraft:pull": 0.65
},
"model": "gameritems:item/gamer_bow_pulling_1"
},
{
"predicate": {
"minecraft:pulling": 1,
"minecraft:pull": 0.9
},
"model": "gameritems:item/gamer_bow_pulling_2"
}
]
}

View File

@@ -0,0 +1,6 @@
{
"parent": "gameritems:item/gamer_bow",
"textures": {
"layer0": "gameritems:item/gamer_bow_pulling_0"
}
}

View File

@@ -0,0 +1,6 @@
{
"parent": "gameritems:item/gamer_bow",
"textures": {
"layer0": "gameritems:item/gamer_bow_pulling_1"
}
}

View File

@@ -0,0 +1,6 @@
{
"parent": "gameritems:item/gamer_bow",
"textures": {
"layer0": "gameritems:item/gamer_bow_pulling_2"
}
}

Some files were not shown because too many files have changed in this diff Show More