19 Commits

Author SHA1 Message Date
Ryan
b4a025bae1 fix 2022-11-19 17:57:19 +02:00
Ryan
a66c27ddce release 1.19-1.0.2-unstable 2022-11-19 16:08:10 +02:00
RyanTLG
48a0915730 1.19-1.0.1-unstable 2022-10-10 18:13:25 +02:00
RyanTLG
593208c052 mna 2022-10-10 16:22:52 +02:00
RyanTLG
5eb78fbbd2 update to 1.19 2022-07-13 16:42:59 +02:00
RyanTLG
15808a2598 stuffs 2022-06-11 19:17:55 +02:00
RyanTLG
ed7a3dd418 advancements 2022-05-28 01:21:57 +02:00
RyanTLG
cf6114eda3 1.1.3 initial 2022-05-22 16:13:27 +02:00
RyanTLG
cb1fedc2fc release 1.1.2 2022-05-15 15:20:30 +02:00
RyanTLG
6a220b43dc slight changes 2022-05-15 00:49:06 +02:00
RyanTLG
3ccaaf149a genius 2022-05-07 17:29:54 +02:00
RyanTLG
5e801ec1d5 i am an idiot 2022-05-07 17:20:58 +02:00
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
156 changed files with 10135 additions and 273 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -1,25 +1,16 @@
# Changes: # Changes:
## 1.18.1-1.0.1-unstable ## 1.19-1.0.0-stable
- first test and register to Strong bow (name not decided yet) - updating is despicable
- praying to god i did nothing wrong
## 1.18.1-1.0.2-unstable ## 1.19-1.0.1-unstable
- added model predicate provider - added not tools
- changed bow maxDamage to 458 from 19 (found ot it wasnt attack damage) - added not armour
- registered model predicate provider in client initializer - added stupid/dumb damage source
- figuring out new stuff is painful - added stupid status effect
- added stupid tools
## 1.18.1-1.1.0-stable ## 1.19-1.0.2-unstable
- renamed strong bow to Gamer Bow - added stupidium armour
- added textures for Gamer Bow - added textures for stupidium stuff
- added crafting recipe for Gamer Bow - fixed weem haybale
- fully implemented Gamer Bow - fixed fucked audio blocks
## 1.18.1-1.1.1-unstable
- fixed weem stacking to 85 (maybe)
- nerfed high effect
## 1.18.1-1.1.2-unstable
- added healing back to high effect with lower amplifier
- changed block strength of all (non joke) blocks
- 1.1.2 completed

View File

@@ -26,4 +26,7 @@ If you find an issue or bug in the mod or just have a general suggestion you can
### AAAAAAAAAAAAAAAa ### AAAAAAAAAAAAAAAa
[aaaaAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA](https://github.com/RyanTLG/GamerItems/blob/1-18-1/unstable/AAAAAAAAAAAAAAAa) [aaaaAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA](https://github.com/RyanTLG/GamerItems/blob/1-18-1/unstable/AAAAAAAAAAAAAAAa)
## NOTICE
due to my lack of an attention span, i will no longer be updating or maintaining 1.18 versions, this is a final decision. I will also not support any versions up from 1.19 (pre chat reporting and account banning). Anyone willing to update 1.18 branches or add branches for older/newer minecraft versions are welcome to ask me [here](https://discord.gg/nsYbUnjBFJ)

BIN
badges/poweredbyelec.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

View File

@@ -1,5 +1,5 @@
plugins { plugins {
id 'fabric-loom' version '0.10-SNAPSHOT' id 'fabric-loom' version '0.12-SNAPSHOT'
id 'maven-publish' id 'maven-publish'
} }
@@ -16,7 +16,6 @@ repositories {
// Loom adds the essential maven repositories to download Minecraft and libraries from automatically. // Loom adds the essential maven repositories to download Minecraft and libraries from automatically.
// See https://docs.gradle.org/current/userguide/declaring_repositories.html // See https://docs.gradle.org/current/userguide/declaring_repositories.html
// for more information about repositories. // for more information about repositories.
allprojects { repositories { maven { url 'https://jitpack.io' } } }
} }
dependencies { dependencies {
@@ -27,6 +26,8 @@ dependencies {
// Fabric API. This is technically optional, but you probably want it anyway. // Fabric API. This is technically optional, but you probably want it anyway.
modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}" modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"
modImplementation "net.fabricmc.fabric-api:fabric-api-deprecated:${project.fabric_version}"
} }
processResources { processResources {
@@ -71,7 +72,7 @@ publishing {
repositories { repositories {
maven { maven {
name = "GitHubPackages" name = "GitHubPackages"
url = "https://maven.pkg.github.com/RyanTLG/gameritems" url = "https://maven.pkg.github.com/BigGaemer/gameritems"
credentials { credentials {
username = System.getenv("UNAME") username = System.getenv("UNAME")
password = System.getenv("TOKEN") password = System.getenv("TOKEN")

View File

@@ -1,16 +1,16 @@
# Done to increase the memory available to gradle. # Done to increase the memory available to gradle.
org.gradle.jvmargs=-Xmx4G org.gradle.jvmargs=-Xmx6G
# Fabric Properties # Fabric Properties
# check these on https://fabricmc.net/develop # check these on https://fabricmc.net/develop
minecraft_version=1.18.1 minecraft_version=1.19
yarn_mappings=1.18.1+build.1 yarn_mappings=1.19+build.4
loader_version=0.12.12 loader_version=0.14.10
# Mod Properties # Mod Properties
mod_version = 1.18.1-1.1.2-unstable mod_version = 1.19-1.0.2-unstable
maven_group = ryantlg.GamerItems.mod maven_group = ryantlg.GamerItems.mod
archives_base_name = GamerItems archives_base_name = GamerItems
# Dependencies # Dependencies
fabric_version=0.46.0+1.18 fabric_version=0.58.0+1.19

View File

@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.1-bin.zip distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-bin.zip
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists

View File

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

View File

@@ -0,0 +1,61 @@
package net.arcmods.ryantlg.armourMaterials;
import net.arcmods.ryantlg.items.metalItems.oriumMetals;
import net.minecraft.entity.EquipmentSlot;
import net.minecraft.item.ArmorMaterial;
import net.minecraft.recipe.Ingredient;
import net.minecraft.sound.SoundEvent;
import net.minecraft.sound.SoundEvents;
public class stupidiumArmorMaterial implements ArmorMaterial {
// {boots, leggings, chestplate, helmet}
private static final int[] BASE_DURABILITY = new int[] {43, 60, 75, 49};
private static final int[] PROTECTION_VALUES = new int[] {4, 7, 9, 4};
// In which A is helmet, B chestplate, C leggings and D boots.
// For reference, Leather uses {1, 2, 3, 1}, and Diamond/Netherite {3, 6, 8, 3}
// {A, C, B, D}
@Override
public int getDurability(EquipmentSlot slot) {
return BASE_DURABILITY[slot.getEntitySlotId()] * 10;
}
@Override
public int getProtectionAmount(EquipmentSlot slot) {
return PROTECTION_VALUES[slot.getEntitySlotId()];
}
@Override
public int getEnchantability() {
return 22;
}
@Override
public SoundEvent getEquipSound() {
return SoundEvents.ITEM_ARMOR_EQUIP_DIAMOND;
}
@Override
public Ingredient getRepairIngredient() {
return Ingredient.ofItems(oriumMetals.ORIUM);
}
@Override
public String getName() {
// Must be all lowercase
return "stupidium";
}
@Override
public float getToughness() {
return 2.0F;
}
@Override
public float getKnockbackResistance() {
return 0.0F;
}
}

View File

@@ -17,18 +17,18 @@ public class Damon extends Block{
super(settings); super(settings);
} }
@Override // @Override
public ActionResult onUse(BlockState blockState, World world, BlockPos blockPos, PlayerEntity placedBy, Hand hand, BlockHitResult blockHitResult) { // public ActionResult onUse(BlockState blockState, World world, BlockPos blockPos, PlayerEntity placedBy, Hand hand, BlockHitResult blockHitResult) {
if (!world.isClient) { // if (!world.isClient) {
world.playSound( // world.playSound(
null, // Player - if non-null, will play sound for every nearby player *except* the specified player // null, // Player - if non-null, will play sound for every nearby player *except* the specified player
blockPos, // The position of where the sound will come from // blockPos, // The position of where the sound will come from
sounds.MATT_SOUND_EVENT, // The sound that will play // sounds.MATT_SOUND_EVENT, // The sound that will play
SoundCategory.BLOCKS, // This determines which of the volume sliders affect this sound // SoundCategory.BLOCKS, // This determines which of the volume sliders affect this sound
1f, //Volume multiplier, 1 is normal, 0.5 is half volume, etc // 1f, //Volume multiplier, 1 is normal, 0.5 is half volume, etc
1f // Pitch multiplier, 1 is normal, 0.5 is half pitch, etc // 1f // Pitch multiplier, 1 is normal, 0.5 is half pitch, etc
); // );
} // }
return ActionResult.FAIL; // return ActionResult.FAIL;
} // }
} }

View File

@@ -40,21 +40,21 @@ public class WeemCropBlock extends CropBlock {
return AGE_TO_SHAPE[(Integer)state.get(this.getAgeProperty())]; return AGE_TO_SHAPE[(Integer)state.get(this.getAgeProperty())];
} }
@Override // @Override
public ActionResult onUse(BlockState blockState, World world, BlockPos blockPos, PlayerEntity placedBy, Hand hand, BlockHitResult blockHitResult) { // public ActionResult onUse(BlockState blockState, World world, BlockPos blockPos, PlayerEntity placedBy, Hand hand, BlockHitResult blockHitResult) {
if (!world.isClient) { // if (!world.isClient) {
world.playSound( // world.playSound(
null, // Player - if non-null, will play sound for every nearby player *except* the specified player // null, // Player - if non-null, will play sound for every nearby player *except* the specified player
blockPos, // The position of where the sound will come from // blockPos, // The position of where the sound will come from
sounds.SNIFF_SOUND_EVENT, // The sound that will play // sounds.SNIFF_SOUND_EVENT, // The sound that will play
SoundCategory.BLOCKS, // This determines which of the volume sliders affect this sound // SoundCategory.BLOCKS, // This determines which of the volume sliders affect this sound
1f, //Volume multiplier, 1 is normal, 0.5 is half volume, etc // 1f, //Volume multiplier, 1 is normal, 0.5 is half volume, etc
1f // Pitch multiplier, 1 is normal, 0.5 is half pitch, etc // 1f // Pitch multiplier, 1 is normal, 0.5 is half pitch, etc
); // );
} // }
return ActionResult.FAIL; // return ActionResult.FAIL;
} // }
} }

View File

@@ -17,18 +17,18 @@ public class elon extends Block{
super(settings); super(settings);
} }
@Override // @Override
public ActionResult onUse(BlockState blockState, World world, BlockPos blockPos, PlayerEntity placedBy, Hand hand, BlockHitResult blockHitResult) { // public ActionResult onUse(BlockState blockState, World world, BlockPos blockPos, PlayerEntity placedBy, Hand hand, BlockHitResult blockHitResult) {
if (!world.isClient) { // if (!world.isClient) {
world.playSound( // world.playSound(
null, // Player - if non-null, will play sound for every nearby player *except* the specified player // null, // Player - if non-null, will play sound for every nearby player *except* the specified player
blockPos, // The position of where the sound will come from // blockPos, // The position of where the sound will come from
sounds.ELON_SOUND_EVENT, // The sound that will play // sounds.ELON_SOUND_EVENT, // The sound that will play
SoundCategory.BLOCKS, // This determines which of the volume sliders affect this sound // SoundCategory.BLOCKS, // This determines which of the volume sliders affect this sound
1f, //Volume multiplier, 1 is normal, 0.5 is half volume, etc // 1f, //Volume multiplier, 1 is normal, 0.5 is half volume, etc
1f // Pitch multiplier, 1 is normal, 0.5 is half pitch, etc // 1f // Pitch multiplier, 1 is normal, 0.5 is half pitch, etc
); // );
} // }
return ActionResult.FAIL; // return ActionResult.FAIL;
} // }
} }

View File

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

View File

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

View File

@@ -1,21 +0,0 @@
package net.arcmods.ryantlg.blocks;
import net.arcmods.ryantlg.gameritems;
import net.arcmods.ryantlg.blockClasses.WeemCropBlock;
import net.minecraft.block.AbstractBlock;
import net.minecraft.block.CropBlock;
import net.minecraft.block.Material;
import net.minecraft.sound.BlockSoundGroup;
import net.minecraft.util.Identifier;
import net.minecraft.util.registry.Registry;
public class CropBlocks {
public static final CropBlock WEEM_CROP_BLOCK = new WeemCropBlock(AbstractBlock.Settings.of(Material.PLANT).nonOpaque().noCollision().ticksRandomly().breakInstantly().sounds(BlockSoundGroup.CROP));
public static void register() {
Registry.register(Registry.BLOCK, new Identifier("gameritems","weem_crop_block"), WEEM_CROP_BLOCK);
gameritems.LOGGER.info("CropBlocks loaded");
}
}

View File

@@ -0,0 +1,31 @@
package net.arcmods.ryantlg.blocks.cropBlocks;
import net.arcmods.ryantlg.gameritems;
import net.arcmods.ryantlg.blockClasses.WeemCropBlock;
import net.fabricmc.fabric.api.item.v1.FabricItemSettings;
import net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings;
import net.fabricmc.fabric.api.registry.FlammableBlockRegistry;
import net.minecraft.block.AbstractBlock;
import net.minecraft.block.Block;
import net.minecraft.block.CropBlock;
import net.minecraft.block.Material;
import net.minecraft.block.PillarBlock;
import net.minecraft.item.BlockItem;
import net.minecraft.sound.BlockSoundGroup;
import net.minecraft.util.Identifier;
import net.minecraft.util.registry.Registry;
public class weemCrop {
public static final CropBlock WEEM_CROP_BLOCK = new WeemCropBlock(AbstractBlock.Settings.of(Material.PLANT).nonOpaque().noCollision().ticksRandomly().breakInstantly().sounds(BlockSoundGroup.CROP));
public static final Block WEEM_HAYBALE = new PillarBlock(FabricBlockSettings.of(Material.SOLID_ORGANIC).nonOpaque().strength(1, 1).sounds(BlockSoundGroup.GRASS));
public static void register() {
Registry.register(Registry.BLOCK, new Identifier("gameritems","weem_crop_block"), WEEM_CROP_BLOCK);
Registry.register(Registry.BLOCK, new Identifier("gameritems", "weem_haybale"), WEEM_HAYBALE);
Registry.register(Registry.ITEM, new Identifier("gameritems", "weem_haybale"), new BlockItem(WEEM_HAYBALE, new FabricItemSettings().group(gameritems.CHING)));
FlammableBlockRegistry.getDefaultInstance().add(WEEM_HAYBALE, 60, 20);
gameritems.LOGGER.info("CropBlocks loaded");
}
}

View File

@@ -1,4 +1,4 @@
package net.arcmods.ryantlg.blocks; package net.arcmods.ryantlg.blocks.metalBlocks;
import net.arcmods.ryantlg.gameritems; import net.arcmods.ryantlg.gameritems;
import net.arcmods.ryantlg.blockClasses.jeremiumBlock; import net.arcmods.ryantlg.blockClasses.jeremiumBlock;

View File

@@ -1,4 +1,4 @@
package net.arcmods.ryantlg.blocks; package net.arcmods.ryantlg.blocks.metalBlocks;
import net.arcmods.ryantlg.gameritems; import net.arcmods.ryantlg.gameritems;
import net.fabricmc.fabric.api.item.v1.FabricItemSettings; import net.fabricmc.fabric.api.item.v1.FabricItemSettings;

View File

@@ -1,4 +1,4 @@
package net.arcmods.ryantlg.blocks; package net.arcmods.ryantlg.blocks.metalBlocks;
import net.arcmods.ryantlg.gameritems; import net.arcmods.ryantlg.gameritems;
import net.arcmods.ryantlg.blockClasses.oriumBlock; import net.arcmods.ryantlg.blockClasses.oriumBlock;

View File

@@ -0,0 +1,32 @@
package net.arcmods.ryantlg.blocks.metalBlocks;
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;
import net.minecraft.block.Material;
import net.minecraft.item.BlockItem;
import net.minecraft.sound.BlockSoundGroup;
import net.minecraft.util.Identifier;
import net.minecraft.util.registry.Registry;
public class stupidiumBlocks {
public static final Block STUPIDIUM_BLOCK = new Block(FabricBlockSettings.of(Material.METAL).strength(6.9f, 8.3f).requiresTool());
public static final Block STUPIDIUM_ORE = new Block(FabricBlockSettings.of(Material.STONE).strength(6.5f, 6.0f).requiresTool());
public static final Block DEEPSLATE_STUPIDIUM_ORE = new Block(FabricBlockSettings.of(Material.STONE).strength(7.2f, 7.2f).requiresTool().sounds(BlockSoundGroup.DEEPSLATE));
public static void register() {
Registry.register(Registry.BLOCK, new Identifier("gameritems", "stupidium_ore"), STUPIDIUM_ORE);
Registry.register(Registry.ITEM, new Identifier("gameritems", "stupidium_ore"), new BlockItem(STUPIDIUM_ORE, new FabricItemSettings().group(gameritems.CHING).fireproof().maxCount(56)));
Registry.register(Registry.BLOCK, new Identifier("gameritems", "deepslate_stupidium_ore"), DEEPSLATE_STUPIDIUM_ORE);
Registry.register(Registry.ITEM, new Identifier("gameritems", "deepslate_stupidium_ore"), new BlockItem(DEEPSLATE_STUPIDIUM_ORE, new FabricItemSettings().group(gameritems.CHING).fireproof().maxCount(56)));
Registry.register(Registry.BLOCK, new Identifier("gameritems", "stupidium_block"), STUPIDIUM_BLOCK);
Registry.register(Registry.ITEM, new Identifier("gameritems", "stupidium_block"), new BlockItem(STUPIDIUM_BLOCK, new FabricItemSettings().group(gameritems.CHING).fireproof().maxCount(56)));
gameritems.LOGGER.info("stupidiumBlocks loaded");
}
}

View File

@@ -1,4 +1,4 @@
package net.arcmods.ryantlg.blocks; package net.arcmods.ryantlg.blocks.otherBlocks;
import net.arcmods.ryantlg.gameritems; import net.arcmods.ryantlg.gameritems;
import net.arcmods.ryantlg.blockClasses.Damon; import net.arcmods.ryantlg.blockClasses.Damon;

View File

@@ -11,7 +11,6 @@ import net.minecraft.item.ItemStack;
import net.minecraft.item.SwordItem; import net.minecraft.item.SwordItem;
import net.minecraft.item.ToolMaterial; import net.minecraft.item.ToolMaterial;
import net.minecraft.text.Text; import net.minecraft.text.Text;
import net.minecraft.text.TranslatableText;
import net.minecraft.util.Formatting; import net.minecraft.util.Formatting;
import net.minecraft.world.World; import net.minecraft.world.World;
@@ -21,7 +20,7 @@ public class JeremiumSwordItem extends SwordItem {
} }
@Override @Override
public void appendTooltip(ItemStack itemStack, World world, List<Text> tooltip, TooltipContext tooltipContext) { public void appendTooltip(ItemStack itemStack, World world, List<Text> tooltip, TooltipContext tooltipContext) {
tooltip.add( new TranslatableText("item.gameritems.jeremium_sword.tooltip").formatted(Formatting.DARK_PURPLE, Formatting.ITALIC) ); tooltip.add(Text.translatable("item.gameritems.jeremium_sword.tooltip").formatted(Formatting.RED));
} }
@Override @Override

View File

@@ -0,0 +1,10 @@
package net.arcmods.ryantlg.customToolItemClasses.not;
import net.minecraft.item.AxeItem;
import net.minecraft.item.ToolMaterial;
public class notAxeItem extends AxeItem {
public notAxeItem(ToolMaterial material, int attackDamage, float attackSpeed, Settings settings) {
super(material, attackDamage, attackSpeed, settings);
}
}

View File

@@ -0,0 +1,11 @@
package net.arcmods.ryantlg.customToolItemClasses.not;
import net.minecraft.item.HoeItem;
import net.minecraft.item.ToolMaterial;
public class notHoeItem extends HoeItem {
public notHoeItem(ToolMaterial material, int attackDamage, float attackSpeed, Settings settings) {
super(material, attackDamage, attackSpeed, settings);
}
}

View File

@@ -0,0 +1,10 @@
package net.arcmods.ryantlg.customToolItemClasses.not;
import net.minecraft.item.PickaxeItem;
import net.minecraft.item.ToolMaterial;
public class notPickaxeItem extends PickaxeItem {
public notPickaxeItem(ToolMaterial material, int attackDamage, float attackSpeed, Settings settings) {
super(material, attackDamage, attackSpeed, settings);
}
}

View File

@@ -0,0 +1,12 @@
package net.arcmods.ryantlg.customToolItemClasses.not;
import net.minecraft.item.ShovelItem;
import net.minecraft.item.ToolMaterial;
public class notShovelItem extends ShovelItem{
public notShovelItem(ToolMaterial material, float attackDamage, float attackSpeed, Settings settings) {
super(material, attackDamage, attackSpeed, settings);
}
}

View File

@@ -0,0 +1,12 @@
package net.arcmods.ryantlg.customToolItemClasses.not;
import net.minecraft.item.SwordItem;
import net.minecraft.item.ToolMaterial;
public class notSwordItem extends SwordItem{
public notSwordItem(ToolMaterial toolMaterial, int attackDamage, float attackSpeed, Settings settings) {
super(toolMaterial, attackDamage, attackSpeed, settings);
}
}

View File

@@ -7,7 +7,6 @@ import net.minecraft.item.ItemStack;
import net.minecraft.item.SwordItem; import net.minecraft.item.SwordItem;
import net.minecraft.item.ToolMaterial; import net.minecraft.item.ToolMaterial;
import net.minecraft.text.Text; import net.minecraft.text.Text;
import net.minecraft.text.TranslatableText;
import net.minecraft.util.Formatting; import net.minecraft.util.Formatting;
import net.minecraft.world.World; import net.minecraft.world.World;
@@ -17,6 +16,6 @@ public class OmniumSwordItem extends SwordItem {
} }
@Override @Override
public void appendTooltip(ItemStack itemStack, World world, List<Text> tooltip, TooltipContext tooltipContext) { public void appendTooltip(ItemStack itemStack, World world, List<Text> tooltip, TooltipContext tooltipContext) {
tooltip.add( new TranslatableText("item.gameritems.omnium_sword.tooltip").formatted(Formatting.DARK_PURPLE, Formatting.ITALIC) ); tooltip.add(Text.translatable("item.gameritems.omnium_sword.tooltip").formatted(Formatting.RED) );
} }
} }

View File

@@ -0,0 +1,12 @@
package net.arcmods.ryantlg.customToolItemClasses.stupidium;
import net.minecraft.item.AxeItem;
import net.minecraft.item.ToolMaterial;
public class StupidiumAxeItem extends AxeItem {
public StupidiumAxeItem(ToolMaterial material, float attackDamage, float attackSpeed, Settings settings) {
super(material, attackDamage, attackSpeed, settings);
}
}

View File

@@ -0,0 +1,20 @@
package net.arcmods.ryantlg.customToolItemClasses.stupidium;
import net.minecraft.item.BowItem;
import net.arcmods.ryantlg.statusEffects.GamerEffects;
import net.minecraft.entity.LivingEntity;
import net.minecraft.entity.effect.StatusEffectInstance;
import net.minecraft.item.ItemStack;
public class StupidiumBowItem extends BowItem{
public StupidiumBowItem(Settings settings) {
super(settings);
}
@Override
public boolean postHit(ItemStack stack, LivingEntity attackee, LivingEntity attacker) {
attackee.addStatusEffect(new StatusEffectInstance(GamerEffects.STUPID, 20*5, 0), attacker);
return super.postHit(stack, attackee, attacker);
}
}

View File

@@ -0,0 +1,12 @@
package net.arcmods.ryantlg.customToolItemClasses.stupidium;
import net.minecraft.item.HoeItem;
import net.minecraft.item.ToolMaterial;
public class StupidiumHoeItem extends HoeItem{
public StupidiumHoeItem(ToolMaterial material, int attackDamage, float attackSpeed, Settings settings) {
super(material, attackDamage, attackSpeed, settings);
}
}

View File

@@ -0,0 +1,12 @@
package net.arcmods.ryantlg.customToolItemClasses.stupidium;
import net.minecraft.item.PickaxeItem;
import net.minecraft.item.ToolMaterial;
public class StupidiumPickaxeItem extends PickaxeItem{
public StupidiumPickaxeItem(ToolMaterial material, int attackDamage, float attackSpeed, Settings settings) {
super(material, attackDamage, attackSpeed, settings);
}
}

View File

@@ -0,0 +1,12 @@
package net.arcmods.ryantlg.customToolItemClasses.stupidium;
import net.minecraft.item.ShovelItem;
import net.minecraft.item.ToolMaterial;
public class StupidiumShovelItem extends ShovelItem{
public StupidiumShovelItem(ToolMaterial material, float attackDamage, float attackSpeed, Settings settings) {
super(material, attackDamage, attackSpeed, settings);
}
}

View File

@@ -0,0 +1,31 @@
package net.arcmods.ryantlg.customToolItemClasses.stupidium;
import java.util.List;
import net.minecraft.entity.LivingEntity;
import net.minecraft.entity.effect.StatusEffectInstance;
import net.arcmods.ryantlg.statusEffects.GamerEffects;
import net.minecraft.client.item.TooltipContext;
import net.minecraft.item.ItemStack;
import net.minecraft.item.SwordItem;
import net.minecraft.item.ToolMaterial;
import net.minecraft.text.Text;
import net.minecraft.util.Formatting;
import net.minecraft.world.World;
public class StupidiumSwordItem extends SwordItem {
public StupidiumSwordItem(ToolMaterial material, int attackDamage, float attackSpeed, Settings settings) {
super(material, attackDamage, attackSpeed, settings);
}
@Override
public void appendTooltip(ItemStack itemStack, World world, List<Text> tooltip, TooltipContext tooltipContext) {
tooltip.add(Text.translatable("item.gameritems.stupidium_sword.tooltip").formatted(Formatting.RED));
}
@Override
public boolean postHit(ItemStack stack, LivingEntity attackee, LivingEntity attacker) {
attackee.addStatusEffect(new StatusEffectInstance(GamerEffects.STUPID, 20*6, 0), attacker);
return super.postHit(stack, attackee, attacker);
}
}

View File

@@ -0,0 +1,14 @@
package net.arcmods.ryantlg.damageSources;
import net.minecraft.entity.damage.DamageSource;
public class stupidDamageSource extends DamageSource {
protected stupidDamageSource() {
super("dumb");
}
public static final DamageSource STUPID = (new stupidDamageSource().setBypassesArmor());
}

View File

@@ -0,0 +1,53 @@
package net.arcmods.ryantlg.enchantments;
import net.arcmods.ryantlg.gameritems;
import net.minecraft.enchantment.Enchantment;
import net.minecraft.enchantment.EnchantmentTarget;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EquipmentSlot;
import net.minecraft.entity.LivingEntity;
import net.minecraft.entity.effect.StatusEffectInstance;
import net.minecraft.entity.effect.StatusEffects;
import net.minecraft.util.Identifier;
import net.minecraft.util.registry.Registry;
public class evadeEnchantment extends Enchantment {
public evadeEnchantment() {
super(Enchantment.Rarity.UNCOMMON, EnchantmentTarget.ARMOR_CHEST, new EquipmentSlot[] {EquipmentSlot.HEAD, EquipmentSlot.CHEST, EquipmentSlot.FEET, EquipmentSlot.LEGS});
}
@Override
public int getMinPower(int level) {
return 30;
}
@Override
public int getMaxLevel() {
return 4;
}
// public void onTargetDamaged(LivingEntity user, Entity target, int level) {
// if(target instanceof LivingEntity) {
// ((LivingEntity) user).addStatusEffect(new StatusEffectInstance(StatusEffects.SPEED, 20 * 5, level - 1));
// }
// super.onTargetDamaged(user, target, level);
// }
@Override
public void onUserDamaged(LivingEntity user, Entity attacker, int level) {
if (attacker instanceof LivingEntity) {
((LivingEntity) user).addStatusEffect(new StatusEffectInstance(StatusEffects.SPEED, 20 * 7, level));
((LivingEntity) attacker).addStatusEffect(new StatusEffectInstance(StatusEffects.SLOWNESS, 20 * 5, level));
}
super.onUserDamaged(user, attacker, level);
}
public static void register() {
Registry.register(
Registry.ENCHANTMENT,
new Identifier("gameritems", "evade"),
new evadeEnchantment()
);
gameritems.LOGGER.info("evadeEnchantment loaded");
}
}

View File

@@ -1,25 +1,32 @@
package net.arcmods.ryantlg; package net.arcmods.ryantlg;
import net.arcmods.ryantlg.blocks.CropBlocks; import net.arcmods.ryantlg.blocks.cropBlocks.weemCrop;
import net.arcmods.ryantlg.blocks.FunnyBlocks; import net.arcmods.ryantlg.blocks.metalBlocks.jeremiumBlocks;
import net.arcmods.ryantlg.blocks.jeremiumBlocks; import net.arcmods.ryantlg.blocks.metalBlocks.omniumBlocks;
import net.arcmods.ryantlg.blocks.omniumBlocks; import net.arcmods.ryantlg.blocks.metalBlocks.oriumBlocks;
import net.arcmods.ryantlg.blocks.oriumBlocks; import net.arcmods.ryantlg.blocks.metalBlocks.stupidiumBlocks;
import net.arcmods.ryantlg.blocks.otherBlocks.FunnyBlocks;
import net.arcmods.ryantlg.enchantments.evadeEnchantment;
import net.arcmods.ryantlg.items.armour.jeremiumArmour; import net.arcmods.ryantlg.items.armour.jeremiumArmour;
import net.arcmods.ryantlg.items.armour.notArmour; import net.arcmods.ryantlg.items.armour.notArmour;
import net.arcmods.ryantlg.items.armour.omniumArmour; import net.arcmods.ryantlg.items.armour.omniumArmour;
import net.arcmods.ryantlg.items.armour.oriumArmour; import net.arcmods.ryantlg.items.armour.oriumArmour;
import net.arcmods.ryantlg.items.armour.stupidiumArmour;
import net.arcmods.ryantlg.items.bows.gamerBow; import net.arcmods.ryantlg.items.bows.gamerBow;
// import net.arcmods.ryantlg.items.bows.stupidBow;
import net.arcmods.ryantlg.items.itemsByCrop.weemItems; import net.arcmods.ryantlg.items.itemsByCrop.weemItems;
import net.arcmods.ryantlg.items.metalItems.jeremiumMetals; import net.arcmods.ryantlg.items.metalItems.jeremiumMetals;
import net.arcmods.ryantlg.items.metalItems.omniumMetals; import net.arcmods.ryantlg.items.metalItems.omniumMetals;
import net.arcmods.ryantlg.items.metalItems.oriumMetals; import net.arcmods.ryantlg.items.metalItems.oriumMetals;
import net.arcmods.ryantlg.items.metalItems.stupidiumMetals;
import net.arcmods.ryantlg.items.miscItems.FunnyItems; import net.arcmods.ryantlg.items.miscItems.FunnyItems;
import net.arcmods.ryantlg.items.miscItems.OtherItems; import net.arcmods.ryantlg.items.miscItems.OtherItems;
import net.arcmods.ryantlg.items.miscItems.fabricOfReality; import net.arcmods.ryantlg.items.miscItems.fabricOfReality;
import net.arcmods.ryantlg.items.tools.jeremiumTools; import net.arcmods.ryantlg.items.tools.jeremiumTools;
import net.arcmods.ryantlg.items.tools.notTools;
import net.arcmods.ryantlg.items.tools.omniumTools; import net.arcmods.ryantlg.items.tools.omniumTools;
import net.arcmods.ryantlg.items.tools.oriumTools; import net.arcmods.ryantlg.items.tools.oriumTools;
import net.arcmods.ryantlg.items.tools.stupidiumTools;
import net.arcmods.ryantlg.lootTables.grassVanillaWeem; import net.arcmods.ryantlg.lootTables.grassVanillaWeem;
import net.arcmods.ryantlg.statusEffects.GamerEffects; import net.arcmods.ryantlg.statusEffects.GamerEffects;
import net.arcmods.ryantlg.worldGeneration.DeepslateOmniumOreGen; import net.arcmods.ryantlg.worldGeneration.DeepslateOmniumOreGen;
@@ -85,7 +92,7 @@ public class gameritems implements ModInitializer {
OriumOreGen.register(); OriumOreGen.register();
DeepslateOriumOreGen.register(); DeepslateOriumOreGen.register();
CropBlocks.register(); weemCrop.register();
fabricOfReality.register(); fabricOfReality.register();
@@ -97,8 +104,17 @@ public class gameritems implements ModInitializer {
jeremiumTools.register(); jeremiumTools.register();
JeremiumOreGen.register(); JeremiumOreGen.register();
stupidiumMetals.register();
stupidiumBlocks.register();
stupidiumArmour.register();
stupidiumTools.register();
notArmour.register(); notArmour.register();
notTools.register();
gamerBow.register(); gamerBow.register();
// stupidBow.register(); // incomplete: lazy
evadeEnchantment.register();
} }
//fight me //fight me

View File

@@ -1,6 +1,6 @@
package net.arcmods.ryantlg; package net.arcmods.ryantlg;
import net.arcmods.ryantlg.blocks.CropBlocks; import net.arcmods.ryantlg.blocks.cropBlocks.weemCrop;
import net.arcmods.ryantlg.utils.bowModelPredicateProvider; import net.arcmods.ryantlg.utils.bowModelPredicateProvider;
import net.fabricmc.api.ClientModInitializer; import net.fabricmc.api.ClientModInitializer;
import net.fabricmc.api.EnvType; import net.fabricmc.api.EnvType;
@@ -13,7 +13,7 @@ public class gameritemsClient implements ClientModInitializer{
@Override @Override
public void onInitializeClient() { public void onInitializeClient() {
BlockRenderLayerMap.INSTANCE.putBlocks(RenderLayer.getCutout(), CropBlocks.WEEM_CROP_BLOCK); BlockRenderLayerMap.INSTANCE.putBlocks(RenderLayer.getCutout(), weemCrop.WEEM_CROP_BLOCK);
bowModelPredicateProvider.registerBowModels(); bowModelPredicateProvider.registerBowModels();

View File

@@ -6,7 +6,6 @@ import net.minecraft.client.item.TooltipContext;
import net.minecraft.item.Item; import net.minecraft.item.Item;
import net.minecraft.item.ItemStack; import net.minecraft.item.ItemStack;
import net.minecraft.text.Text; import net.minecraft.text.Text;
import net.minecraft.text.TranslatableText;
import net.minecraft.util.Formatting; import net.minecraft.util.Formatting;
import net.minecraft.world.World; import net.minecraft.world.World;
@@ -19,6 +18,8 @@ public class BreemItem extends Item {
@Override @Override
public void appendTooltip(ItemStack itemStack, World world, List<Text> tooltip, TooltipContext tooltipContext) { public void appendTooltip(ItemStack itemStack, World world, List<Text> tooltip, TooltipContext tooltipContext) {
tooltip.add( new TranslatableText("item.gameritems.breem.tooltip").formatted(Formatting.LIGHT_PURPLE, Formatting.ITALIC) ); tooltip.add(Text.translatable("item.gameritems.breem.tooltip").formatted(Formatting.LIGHT_PURPLE, Formatting.ITALIC) );
}
//tooltip.add( new TranslatableText("item.gameritems.breem.tooltip").formatted(Formatting.LIGHT_PURPLE, Formatting.ITALIC) );
}
} }

View File

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

View File

@@ -0,0 +1,26 @@
package net.arcmods.ryantlg.itemClasses;
import java.util.List;
import net.minecraft.client.item.TooltipContext;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.text.Text;
import net.minecraft.util.Formatting;
import net.minecraft.world.World;
public class StupidiumItem extends Item {
public StupidiumItem(Settings settings) {
super(settings);
}
@Override
public void appendTooltip(ItemStack itemStack, World world, List<Text> tooltip, TooltipContext tooltipContext) {
tooltip.add(Text.translatable("item.gameritems.stupidium.tooltip").formatted(Formatting.LIGHT_PURPLE, Formatting.ITALIC) );
}
}

View File

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

View File

@@ -0,0 +1,24 @@
package net.arcmods.ryantlg.itemClasses;
import java.util.List;
import net.minecraft.client.item.TooltipContext;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.text.Text;
import net.minecraft.util.Formatting;
import net.minecraft.world.World;
public class dipstickItem extends Item{
public dipstickItem(Settings settings) {
super(settings);
}
@Override
public void appendTooltip(ItemStack itemStack, World world, List<Text> tooltip, TooltipContext tooltipContext) {
tooltip.add(Text.translatable("item.gameritems.dipstick.tooltip").formatted(Formatting.LIGHT_PURPLE, Formatting.ITALIC) );
}
}

View File

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

View File

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

View File

@@ -0,0 +1,29 @@
package net.arcmods.ryantlg.items.armour;
import net.arcmods.ryantlg.armourMaterials.stupidiumArmorMaterial;
import net.minecraft.util.registry.Registry;
import net.arcmods.ryantlg.gameritems;
import net.minecraft.entity.EquipmentSlot;
import net.minecraft.item.ArmorItem;
import net.minecraft.item.ArmorMaterial;
import net.minecraft.item.Item;
import net.minecraft.util.Identifier;
import net.minecraft.util.Rarity;
public class stupidiumArmour {
public static final ArmorMaterial STUPIDIUM_ARMOR_MATERIAL = new stupidiumArmorMaterial();
public static final Item STUPIDIUM_HELMET = new ArmorItem(STUPIDIUM_ARMOR_MATERIAL, EquipmentSlot.HEAD, new Item.Settings().group(gameritems.THING).rarity(Rarity.RARE));
public static final Item STUPIDIUM_CHESTPLATE = new ArmorItem(STUPIDIUM_ARMOR_MATERIAL, EquipmentSlot.CHEST, new Item.Settings().group(gameritems.THING).rarity(Rarity.RARE));
public static final Item STUPIDIUM_LEGGINGS = new ArmorItem(STUPIDIUM_ARMOR_MATERIAL, EquipmentSlot.LEGS, new Item.Settings().group(gameritems.THING).rarity(Rarity.RARE));
public static final Item STUPIDIUM_BOOTS = new ArmorItem(STUPIDIUM_ARMOR_MATERIAL, EquipmentSlot.FEET, new Item.Settings().group(gameritems.THING).rarity(Rarity.RARE));
public static void register() {
Registry.register(Registry.ITEM, new Identifier("gameritems", "stupidium_helmet"), STUPIDIUM_HELMET);
Registry.register(Registry.ITEM, new Identifier("gameritems", "stupidium_chestplate"), STUPIDIUM_CHESTPLATE);
Registry.register(Registry.ITEM, new Identifier("gameritems", "stupidium_leggings"), STUPIDIUM_LEGGINGS);
Registry.register(Registry.ITEM, new Identifier("gameritems", "stupidium_boots"), STUPIDIUM_BOOTS);
gameritems.LOGGER.info("stupidiumArmour loaded");
}
}

View File

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

View File

@@ -1,7 +1,7 @@
package net.arcmods.ryantlg.items.itemsByCrop; package net.arcmods.ryantlg.items.itemsByCrop;
import net.arcmods.ryantlg.gameritems; import net.arcmods.ryantlg.gameritems;
import net.arcmods.ryantlg.blocks.CropBlocks; import net.arcmods.ryantlg.blocks.cropBlocks.weemCrop;
import net.arcmods.ryantlg.itemClasses.BreemItem; import net.arcmods.ryantlg.itemClasses.BreemItem;
import net.arcmods.ryantlg.itemClasses.WeemItem; import net.arcmods.ryantlg.itemClasses.WeemItem;
import net.arcmods.ryantlg.statusEffects.GamerEffects; import net.arcmods.ryantlg.statusEffects.GamerEffects;
@@ -56,14 +56,13 @@ public class weemItems {
//seeds //seeds
//================================================================================================================ //================================================================================================================
public static final Item WEEM_SEEDS = new AliasedBlockItem(CropBlocks.WEEM_CROP_BLOCK, new Item.Settings().group(gameritems.CHING)); public static final Item WEEM_SEEDS = new AliasedBlockItem(weemCrop.WEEM_CROP_BLOCK, new Item.Settings().group(gameritems.CHING));
public static void register() { public static void register() {
Registry.register(Registry.ITEM, new Identifier("gameritems", "breem"), BREEM); 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("gameritems", "weem_apple"), WEEM_APPLE);
Registry.register(Registry.ITEM, new Identifier("gameritems","weem_seeds"), WEEM_SEEDS); Registry.register(Registry.ITEM, new Identifier("gameritems","weem_seeds"), WEEM_SEEDS);
Registry.register(Registry.ITEM, new Identifier("gameritems", "weem"), WEEM); Registry.register(Registry.ITEM, new Identifier("gameritems", "weem"), WEEM);

View File

@@ -0,0 +1,21 @@
package net.arcmods.ryantlg.items.metalItems;
import net.arcmods.ryantlg.gameritems;
import net.arcmods.ryantlg.itemClasses.StupidiumItem;
import net.minecraft.item.Item;
import net.minecraft.util.Identifier;
import net.minecraft.util.Rarity;
import net.minecraft.util.registry.Registry;
public class stupidiumMetals {
public static final Item STUPIDIUM = new StupidiumItem(new Item.Settings().group(gameritems.CHING).maxCount(64).rarity(Rarity.UNCOMMON));
public static final Item RAW_STUPIDIUM = new StupidiumItem(new Item.Settings().group(gameritems.CHING).maxCount(64).rarity(Rarity.UNCOMMON));
public static void register() {
Registry.register(Registry.ITEM, new Identifier("gameritems", "stupidium_ingot"), STUPIDIUM);
Registry.register(Registry.ITEM, new Identifier("gameritems", "raw_stupidium"), RAW_STUPIDIUM);
gameritems.LOGGER.info("stupidiumMetals loaded");
}
}

View File

@@ -1,6 +1,7 @@
package net.arcmods.ryantlg.items.miscItems; package net.arcmods.ryantlg.items.miscItems;
import net.arcmods.ryantlg.gameritems; import net.arcmods.ryantlg.gameritems;
import net.arcmods.ryantlg.itemClasses.dipstickItem;
import net.minecraft.item.Item; import net.minecraft.item.Item;
import net.minecraft.util.Identifier; import net.minecraft.util.Identifier;
import net.minecraft.util.Rarity; import net.minecraft.util.Rarity;
@@ -9,10 +10,12 @@ import net.minecraft.util.registry.Registry;
public class OtherItems { public class OtherItems {
public static final Item NETHERITE_STICK = new Item(new Item.Settings().group(gameritems.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 final Item DIPSTICK = new dipstickItem(new Item.Settings().group(gameritems.CHING));
public static void register() { public static void register() {
Registry.register(Registry.ITEM, new Identifier("gameritems", "netherite_stick"), NETHERITE_STICK); Registry.register(Registry.ITEM, new Identifier("gameritems", "netherite_stick"), NETHERITE_STICK);
Registry.register(Registry.ITEM, new Identifier("gameritems", "dipstick"), DIPSTICK);
gameritems.LOGGER.info("OtherItems loaded"); gameritems.LOGGER.info("OtherItems loaded");
} }

View File

@@ -0,0 +1,34 @@
package net.arcmods.ryantlg.items.tools;
import net.arcmods.ryantlg.gameritems;
import net.arcmods.ryantlg.customToolItemClasses.not.notAxeItem;
import net.arcmods.ryantlg.customToolItemClasses.not.notHoeItem;
import net.arcmods.ryantlg.customToolItemClasses.not.notPickaxeItem;
import net.arcmods.ryantlg.customToolItemClasses.not.notShovelItem;
import net.arcmods.ryantlg.customToolItemClasses.not.notSwordItem;
import net.arcmods.ryantlg.toolMaterials.notToolMaterial;
import net.minecraft.item.Item;
import net.minecraft.item.ToolItem;
import net.minecraft.util.Identifier;
import net.minecraft.util.Rarity;
import net.minecraft.util.registry.Registry;
public class notTools {
public static ToolItem NOT_SWORD = new notSwordItem(notToolMaterial.INSTANCE, 6, -0.1F, new Item.Settings().fireproof().group(gameritems.THING).rarity(Rarity.EPIC));
public static ToolItem NOT_PICKAXE = new notPickaxeItem(notToolMaterial.INSTANCE, -48, -0.1F, new Item.Settings().fireproof().group(gameritems.THING).rarity(Rarity.EPIC));
public static ToolItem NOT_SHOVEL = new notShovelItem(notToolMaterial.INSTANCE, -40, -0.1F, new Item.Settings().fireproof().group(gameritems.THING).rarity(Rarity.EPIC));
public static ToolItem NOT_AXE = new notAxeItem(notToolMaterial.INSTANCE, 10, -0.1F, new Item.Settings().fireproof().group(gameritems.THING).rarity(Rarity.EPIC));
public static ToolItem NOT_HOE = new notHoeItem(notToolMaterial.INSTANCE, -49, -0.1F, new Item.Settings().fireproof().group(gameritems.THING).rarity(Rarity.EPIC));
public static void register() {
Registry.register(Registry.ITEM, new Identifier("gameritems", "not_sword"), NOT_SWORD);
Registry.register(Registry.ITEM, new Identifier("gameritems", "not_pickaxe"), NOT_PICKAXE);
Registry.register(Registry.ITEM, new Identifier("gameritems", "not_shovel"), NOT_SHOVEL);
Registry.register(Registry.ITEM, new Identifier("gameritems", "not_axe"), NOT_AXE);
Registry.register(Registry.ITEM, new Identifier("gameritems", "not_hoe"), NOT_HOE);
gameritems.LOGGER.info("notTools loaded");
}
}

View File

@@ -0,0 +1,34 @@
package net.arcmods.ryantlg.items.tools;
import net.arcmods.ryantlg.gameritems;
import net.arcmods.ryantlg.customToolItemClasses.stupidium.StupidiumAxeItem;
import net.arcmods.ryantlg.customToolItemClasses.stupidium.StupidiumHoeItem;
import net.arcmods.ryantlg.customToolItemClasses.stupidium.StupidiumPickaxeItem;
import net.arcmods.ryantlg.customToolItemClasses.stupidium.StupidiumShovelItem;
import net.arcmods.ryantlg.customToolItemClasses.stupidium.StupidiumSwordItem;
import net.arcmods.ryantlg.toolMaterials.stupidiumToolMaterial;
import net.minecraft.item.Item;
import net.minecraft.item.ToolItem;
import net.minecraft.util.Identifier;
import net.minecraft.util.Rarity;
import net.minecraft.util.registry.Registry;
public class stupidiumTools {
public static ToolItem STUPID_SWORD = new StupidiumSwordItem(stupidiumToolMaterial.INSTANCE, 6, -2.0F, new Item.Settings().fireproof().group(gameritems.THING).rarity(Rarity.RARE));
public static ToolItem STUPID_PICKAXE = new StupidiumPickaxeItem(stupidiumToolMaterial.INSTANCE, -3, -2.8F, new Item.Settings().fireproof().group(gameritems.THING).rarity(Rarity.RARE));
public static ToolItem STUPID_SHOVEL = new StupidiumShovelItem(stupidiumToolMaterial.INSTANCE, -2.5F, -3.0F, new Item.Settings().fireproof().group(gameritems.THING).rarity(Rarity.RARE));
public static ToolItem STUPID_AXE = new StupidiumAxeItem(stupidiumToolMaterial.INSTANCE, 7, -2.2F, new Item.Settings().fireproof().group(gameritems.THING).rarity(Rarity.RARE));
public static ToolItem STUPID_HOE = new StupidiumHoeItem(stupidiumToolMaterial.INSTANCE, -9, -3.2F, new Item.Settings().fireproof().group(gameritems.THING).rarity(Rarity.RARE));
public static void register() {
Registry.register(Registry.ITEM, new Identifier("gameritems", "stupidium_sword"), STUPID_SWORD);
Registry.register(Registry.ITEM, new Identifier("gameritems", "stupidium_pickaxe"), STUPID_PICKAXE);
Registry.register(Registry.ITEM, new Identifier("gameritems", "stupidium_shovel"), STUPID_SHOVEL);
Registry.register(Registry.ITEM, new Identifier("gameritems", "stupidium_axe"), STUPID_AXE);
Registry.register(Registry.ITEM, new Identifier("gameritems", "stupidium_hoe"), STUPID_HOE);
gameritems.LOGGER.info("stupidiumTools loaded");
}
}

View File

@@ -2,31 +2,39 @@ package net.arcmods.ryantlg.lootTables;
import net.arcmods.ryantlg.gameritems; import net.arcmods.ryantlg.gameritems;
import net.arcmods.ryantlg.items.itemsByCrop.weemItems; import net.arcmods.ryantlg.items.itemsByCrop.weemItems;
import net.fabricmc.fabric.api.loot.v1.FabricLootPoolBuilder; import net.fabricmc.fabric.api.loot.v2.LootTableEvents;
import net.fabricmc.fabric.api.loot.v1.event.LootTableLoadingCallback; import net.minecraft.block.Blocks;
import net.minecraft.loot.LootPool;
import net.minecraft.loot.condition.RandomChanceLootCondition; import net.minecraft.loot.condition.RandomChanceLootCondition;
import net.minecraft.loot.entry.ItemEntry; import net.minecraft.loot.entry.ItemEntry;
import net.minecraft.loot.function.SetCountLootFunction;
import net.minecraft.loot.provider.number.ConstantLootNumberProvider;
import net.minecraft.util.Identifier; import net.minecraft.util.Identifier;
public class grassVanillaWeem { public class grassVanillaWeem {
private static final Identifier GRASS_LOOT_TABLE_ID = new Identifier("minecraft", "blocks/grass"); private static final Identifier GRASS_LOOT_TABLE_ID = Blocks.GRASS.getLootTableId();
private static void modifyLootTables() { private static void modifyLootTables() {
LootTableLoadingCallback.EVENT.register(((resourceManager, manager, id, supplier, setter) -> { LootTableEvents.MODIFY.register(((resourceManager, manager, id, tableBuilder, source) -> {
if (GRASS_LOOT_TABLE_ID.equals(id)) { if (source.isBuiltin() && GRASS_LOOT_TABLE_ID.equals(id)) {
FabricLootPoolBuilder weemSeed = FabricLootPoolBuilder.builder() LootPool.Builder poolBuilder = LootPool.builder()
.rolls(ConstantLootNumberProvider.create(1))
.with(ItemEntry.builder(weemItems.WEEM_SEEDS)) .with(ItemEntry.builder(weemItems.WEEM_SEEDS))
.withFunction(SetCountLootFunction.builder(ConstantLootNumberProvider.create(1.0f)).build()) .conditionally(RandomChanceLootCondition.builder(0.0123132f));;
.conditionally(RandomChanceLootCondition.builder(0.04f));
supplier.withPool(weemSeed.build()); tableBuilder.pool(poolBuilder);
} }
// if (GRASS_LOOT_TABLE_ID.equals(id)) {
// FabricLootPoolBuilder weemSeed = FabricLootPoolBuilder.builder()
// .rolls(ConstantLootNumberProvider.create(1))
// .with(ItemEntry.builder(weemItems.WEEM_SEEDS))
// .withFunction(SetCountLootFunction.builder(ConstantLootNumberProvider.create(1.0f)).build())
// .conditionally(RandomChanceLootCondition.builder(0.0123132f));
// supplier.withPool(weemSeed.build());
// }
})); }));
} }

View File

@@ -2,6 +2,7 @@ package net.arcmods.ryantlg.statusEffects;
import net.arcmods.ryantlg.gameritems; import net.arcmods.ryantlg.gameritems;
import net.arcmods.ryantlg.statusEffects.effectClasses.highStatusEffect; import net.arcmods.ryantlg.statusEffects.effectClasses.highStatusEffect;
import net.arcmods.ryantlg.statusEffects.effectClasses.stupidStatusEffect;
//import net.arcmods.ryantlg.statusEffects.effectClasses.jeremydStatusEffect; //import net.arcmods.ryantlg.statusEffects.effectClasses.jeremydStatusEffect;
import net.minecraft.entity.effect.StatusEffect; import net.minecraft.entity.effect.StatusEffect;
import net.minecraft.util.Identifier; import net.minecraft.util.Identifier;
@@ -10,11 +11,13 @@ import net.minecraft.util.registry.Registry;
public class GamerEffects { public class GamerEffects {
public static final StatusEffect HIGH = new highStatusEffect(); public static final StatusEffect HIGH = new highStatusEffect();
public static final StatusEffect STUPID = new stupidStatusEffect();
//public static final StatusEffect JEREMYD = new jeremydStatusEffect(); //public static final StatusEffect JEREMYD = new jeremydStatusEffect();
public static void register() { public static void register() {
Registry.register(Registry.STATUS_EFFECT, new Identifier("gameritems", "high"), HIGH); Registry.register(Registry.STATUS_EFFECT, new Identifier("gameritems", "high"), HIGH);
Registry.register(Registry.STATUS_EFFECT, new Identifier("gameritems", "stupid"), STUPID);
//Registry.register(Registry.STATUS_EFFECT, new Identifier("gameritems", "jeremyd"), JEREMYD); //Registry.register(Registry.STATUS_EFFECT, new Identifier("gameritems", "jeremyd"), JEREMYD);

View File

@@ -0,0 +1,28 @@
package net.arcmods.ryantlg.statusEffects.effectClasses;
import net.arcmods.ryantlg.damageSources.stupidDamageSource;
import net.minecraft.entity.LivingEntity;
import net.minecraft.entity.effect.StatusEffect;
import net.minecraft.entity.effect.StatusEffectCategory;
public class stupidStatusEffect extends StatusEffect {
public stupidStatusEffect() {
super(
StatusEffectCategory.HARMFUL,
0x6b3f7f
);
}
@Override
public boolean canApplyUpdateEffect(int duration, int amplifier) {
return true;
}
@Override
public void applyUpdateEffect(LivingEntity entity, int amplifier) {
entity.damage(stupidDamageSource.STUPID, 1);
}
}

View File

@@ -4,4 +4,5 @@ crafting recipes
advancements advancements
argentine argentine
geranine geranine
soulium soulium
floute

View File

@@ -0,0 +1,36 @@
package net.arcmods.ryantlg.toolMaterials;
import net.arcmods.ryantlg.items.miscItems.fabricOfReality;
import net.minecraft.item.ToolMaterial;
import net.minecraft.recipe.Ingredient;
public class notToolMaterial implements ToolMaterial {
public static final notToolMaterial INSTANCE = new notToolMaterial();
@Override
public int getDurability() {
return 50000;
}
@Override
public float getMiningSpeedMultiplier() {
return 50.0F;
}
@Override
public float getAttackDamage() {
return 50.0F;
}
@Override
public int getMiningLevel() {
return 4;
}
@Override
public int getEnchantability() {
return 50;
}
@Override
public Ingredient getRepairIngredient() {
return Ingredient.ofItems(fabricOfReality.FABRIC_OF_REALITY);
}
}

View File

@@ -0,0 +1,36 @@
package net.arcmods.ryantlg.toolMaterials;
import net.arcmods.ryantlg.items.metalItems.stupidiumMetals;
import net.minecraft.item.ToolMaterial;
import net.minecraft.recipe.Ingredient;
public class stupidiumToolMaterial implements ToolMaterial {
public static final stupidiumToolMaterial INSTANCE = new stupidiumToolMaterial();
@Override
public int getDurability() {
return 1530;
}
@Override
public float getMiningSpeedMultiplier() {
return 10.0F;
}
@Override
public float getAttackDamage() {
return 10.0F;
}
@Override
public int getMiningLevel() {
return 4;
}
@Override
public int getEnchantability() {
return 27;
}
@Override
public Ingredient getRepairIngredient() {
return Ingredient.ofItems(stupidiumMetals.STUPIDIUM);
}
}

View File

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

View File

@@ -1,35 +1,51 @@
package net.arcmods.ryantlg.worldGeneration; package net.arcmods.ryantlg.worldGeneration;
import java.util.Arrays;
import net.arcmods.ryantlg.gameritems; import net.arcmods.ryantlg.gameritems;
import net.arcmods.ryantlg.blocks.omniumBlocks; import net.arcmods.ryantlg.blocks.metalBlocks.omniumBlocks;
import net.fabricmc.fabric.api.biome.v1.BiomeModifications; import net.fabricmc.fabric.api.biome.v1.BiomeModifications;
import net.fabricmc.fabric.api.biome.v1.BiomeSelectors; import net.fabricmc.fabric.api.biome.v1.BiomeSelectors;
import net.minecraft.util.registry.RegistryKey; import net.minecraft.util.registry.RegistryKey;
import net.minecraft.world.gen.YOffset; import net.minecraft.world.gen.YOffset;
import net.minecraft.world.gen.GenerationStep; 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.ConfiguredFeature;
import net.minecraft.world.gen.feature.Feature; import net.minecraft.world.gen.feature.Feature;
import net.minecraft.world.gen.feature.OreConfiguredFeatures; import net.minecraft.world.gen.feature.OreConfiguredFeatures;
import net.minecraft.world.gen.feature.OreFeatureConfig; import net.minecraft.world.gen.feature.OreFeatureConfig;
import net.minecraft.world.gen.feature.PlacedFeature; 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.BuiltinRegistries;
import net.minecraft.util.registry.Registry; import net.minecraft.util.registry.Registry;
import net.minecraft.util.registry.RegistryEntry;
import net.minecraft.util.Identifier; import net.minecraft.util.Identifier;
public class DeepslateOmniumOreGen { 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, OreConfiguredFeatures.DEEPSLATE_ORE_REPLACEABLES,
omniumBlocks.DEEPSLATE_OMNIUM_ORE.getDefaultState(), 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 CountPlacementModifier.of(2), // number of veins per chunk
SquarePlacementModifier.of(), // spreading horizontally 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
@@ -37,11 +53,11 @@ public class DeepslateOmniumOreGen {
Registry.register(BuiltinRegistries.CONFIGURED_FEATURE, Registry.register(BuiltinRegistries.CONFIGURED_FEATURE,
new Identifier("gameritems", "deepslate_omnium_ore"), ORE_CONFIGURED_FEATURE); new Identifier("gameritems", "deepslate_omnium_ore"), ORE_CONFIGURED_FEATURE);
Registry.register(BuiltinRegistries.PLACED_FEATURE, new Identifier("gameritems", "deepslate_omnium_ore"), Registry.register(BuiltinRegistries.PLACED_FEATURE, new Identifier("gameritems", "deepslate_omnium_ore"),
ORE_PLACED_FEATURE); ORE_PLACED_FEATURE);
BiomeModifications.addFeature(BiomeSelectors.foundInOverworld(), GenerationStep.Feature.UNDERGROUND_ORES, BiomeModifications.addFeature(BiomeSelectors.foundInOverworld(), GenerationStep.Feature.UNDERGROUND_ORES,
RegistryKey.of(Registry.PLACED_FEATURE_KEY, RegistryKey.of(Registry.PLACED_FEATURE_KEY,
new Identifier("gameritems", "deepslate_omnium_ore"))); new Identifier("gameritems", "deepslate_omnium_ore")));
gameritems.LOGGER.info("DeepslateOmniumOreGen loaded"); gameritems.LOGGER.info("DeepslateOmniumOreGen loaded");
} }

View File

@@ -1,36 +1,52 @@
package net.arcmods.ryantlg.worldGeneration; package net.arcmods.ryantlg.worldGeneration;
import java.util.Arrays;
import net.arcmods.ryantlg.gameritems; import net.arcmods.ryantlg.gameritems;
import net.arcmods.ryantlg.blocks.oriumBlocks; import net.arcmods.ryantlg.blocks.metalBlocks.oriumBlocks;
import net.fabricmc.fabric.api.biome.v1.BiomeModifications; import net.fabricmc.fabric.api.biome.v1.BiomeModifications;
import net.fabricmc.fabric.api.biome.v1.BiomeSelectors; import net.fabricmc.fabric.api.biome.v1.BiomeSelectors;
import net.minecraft.util.registry.RegistryKey; import net.minecraft.util.registry.RegistryKey;
import net.minecraft.world.gen.YOffset; import net.minecraft.world.gen.YOffset;
import net.minecraft.world.gen.GenerationStep; 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.ConfiguredFeature;
import net.minecraft.world.gen.feature.Feature; import net.minecraft.world.gen.feature.Feature;
import net.minecraft.world.gen.feature.OreConfiguredFeatures; import net.minecraft.world.gen.feature.OreConfiguredFeatures;
import net.minecraft.world.gen.feature.OreFeatureConfig; import net.minecraft.world.gen.feature.OreFeatureConfig;
import net.minecraft.world.gen.feature.PlacedFeature; 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.BuiltinRegistries;
import net.minecraft.util.registry.Registry; import net.minecraft.util.registry.Registry;
import net.minecraft.util.registry.RegistryEntry;
import net.minecraft.util.Identifier; import net.minecraft.util.Identifier;
public class DeepslateOriumOreGen { public class DeepslateOriumOreGen {
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, // OreConfiguredFeatures.DEEPSLATE_ORE_REPLACEABLES,
oriumBlocks.DEEPSLATE_ORIUM_ORE.getDefaultState(), // oriumBlocks.DEEPSLATE_ORIUM_ORE.getDefaultState(),
5)); // vein size // 5)); // vein size
public static PlacedFeature ORE_PLACED_FEATURE = ORE_CONFIGURED_FEATURE.withPlacement( private static ConfiguredFeature<?, ?> ORE_CONFIGURED_FEATURE = new ConfiguredFeature(
CountPlacementModifier.of(5), // number of veins per chunk Feature.ORE, new OreFeatureConfig(
SquarePlacementModifier.of(), // spreading horizontally OreConfiguredFeatures.DEEPSLATE_ORE_REPLACEABLES,
HeightRangePlacementModifier.uniform(YOffset.getBottom(), YOffset.fixed(35))); // height 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() { public static void register() {

View File

@@ -1,41 +1,55 @@
package net.arcmods.ryantlg.worldGeneration; package net.arcmods.ryantlg.worldGeneration;
import java.util.Arrays;
import net.arcmods.ryantlg.gameritems; import net.arcmods.ryantlg.gameritems;
import net.arcmods.ryantlg.blocks.jeremiumBlocks; import net.arcmods.ryantlg.blocks.metalBlocks.jeremiumBlocks;
import net.fabricmc.fabric.api.biome.v1.BiomeModifications; import net.fabricmc.fabric.api.biome.v1.BiomeModifications;
import net.fabricmc.fabric.api.biome.v1.BiomeSelectors; import net.fabricmc.fabric.api.biome.v1.BiomeSelectors;
import net.minecraft.util.registry.RegistryKey; import net.minecraft.util.registry.RegistryKey;
import net.minecraft.world.gen.YOffset; import net.minecraft.world.gen.YOffset;
import net.minecraft.world.gen.GenerationStep; 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.ConfiguredFeature;
import net.minecraft.world.gen.feature.Feature; import net.minecraft.world.gen.feature.Feature;
import net.minecraft.world.gen.feature.OreConfiguredFeatures; import net.minecraft.world.gen.feature.OreConfiguredFeatures;
import net.minecraft.world.gen.feature.OreFeatureConfig; import net.minecraft.world.gen.feature.OreFeatureConfig;
import net.minecraft.world.gen.feature.PlacedFeature; 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.BuiltinRegistries;
import net.minecraft.util.registry.Registry; import net.minecraft.util.registry.Registry;
import net.minecraft.util.registry.RegistryEntry;
import net.minecraft.util.Identifier; import net.minecraft.util.Identifier;
public class JeremiumOreGen { public class JeremiumOreGen {
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, // OreConfiguredFeatures.DEEPSLATE_ORE_REPLACEABLES,
jeremiumBlocks.DEEPSLATE_JEREMIUM_ORE.getDefaultState(), // jeremiumBlocks.DEEPSLATE_JEREMIUM_ORE.getDefaultState(),
3)); // vein size // 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( // public static PlacedFeature ORE_PLACED_FEATURE = ORE_CONFIGURED_FEATURE.withPlacement(
CountPlacementModifier.of(1), // number of veins per chunk // CountPlacementModifier.of(1), // number of veins per chunk
SquarePlacementModifier.of(), // spreading horizontally // SquarePlacementModifier.of(), // spreading horizontally
HeightRangePlacementModifier.uniform(YOffset.getBottom(), YOffset.fixed(-4))); // height // 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() { public static void register() {
Registry.register(BuiltinRegistries.CONFIGURED_FEATURE, Registry.register(BuiltinRegistries.CONFIGURED_FEATURE,
new Identifier("gameritems", "deepslate_jeremium_ore"), ORE_CONFIGURED_FEATURE); new Identifier("gameritems", "deepslate_jeremium_ore"), ORE_CONFIGURED_FEATURE);
Registry.register(BuiltinRegistries.PLACED_FEATURE, new Identifier("gameritems", "deepslate_jeremium_ore"), Registry.register(BuiltinRegistries.PLACED_FEATURE, new Identifier("gameritems", "deepslate_jeremium_ore"),

View File

@@ -1,44 +1,60 @@
package net.arcmods.ryantlg.worldGeneration; package net.arcmods.ryantlg.worldGeneration;
import java.util.Arrays;
import net.arcmods.ryantlg.gameritems; import net.arcmods.ryantlg.gameritems;
import net.arcmods.ryantlg.blocks.omniumBlocks; import net.arcmods.ryantlg.blocks.metalBlocks.omniumBlocks;
import net.fabricmc.fabric.api.biome.v1.BiomeModifications; import net.fabricmc.fabric.api.biome.v1.BiomeModifications;
import net.fabricmc.fabric.api.biome.v1.BiomeSelectors; import net.fabricmc.fabric.api.biome.v1.BiomeSelectors;
import net.minecraft.util.registry.RegistryKey; import net.minecraft.util.registry.RegistryKey;
import net.minecraft.world.gen.YOffset; import net.minecraft.world.gen.YOffset;
import net.minecraft.world.gen.GenerationStep; 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.ConfiguredFeature;
import net.minecraft.world.gen.feature.Feature; import net.minecraft.world.gen.feature.Feature;
import net.minecraft.world.gen.feature.OreConfiguredFeatures; import net.minecraft.world.gen.feature.OreConfiguredFeatures;
import net.minecraft.world.gen.feature.OreFeatureConfig; import net.minecraft.world.gen.feature.OreFeatureConfig;
import net.minecraft.world.gen.feature.PlacedFeature; 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.BuiltinRegistries;
import net.minecraft.util.registry.Registry; import net.minecraft.util.registry.Registry;
import net.minecraft.util.registry.RegistryEntry;
import net.minecraft.util.Identifier; import net.minecraft.util.Identifier;
public class OmniumOreGen { public class OmniumOreGen {
private static ConfiguredFeature<?, ?> OMNIUM_ORE_CONFIGURED_FEATURE = Feature.ORE.configure(new OreFeatureConfig( // private static ConfiguredFeature<?, ?> OMNIUM_ORE_CONFIGURED_FEATURE = Feature.ORE.configure(new OreFeatureConfig(
OreConfiguredFeatures.STONE_ORE_REPLACEABLES, // OreConfiguredFeatures.STONE_ORE_REPLACEABLES,
omniumBlocks.OMNIUM_ORE.getDefaultState(), // omniumBlocks.OMNIUM_ORE.getDefaultState(),
4)); // vein size // 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( // public static PlacedFeature OMNIUM_ORE_PLACED_FEATURE = OMNIUM_ORE_CONFIGURED_FEATURE.withPlacement(
CountPlacementModifier.of(2), // number of veins per chunk // CountPlacementModifier.of(2), // number of veins per chunk
SquarePlacementModifier.of(), // spreading horizontally // 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() { public static void register() {
Registry.register(BuiltinRegistries.CONFIGURED_FEATURE, Registry.register(BuiltinRegistries.CONFIGURED_FEATURE,
new Identifier("gameritems", "omnium_ore"), OMNIUM_ORE_CONFIGURED_FEATURE); new Identifier("gameritems", "omnium_ore"), ORE_CONFIGURED_FEATURE);
Registry.register(BuiltinRegistries.PLACED_FEATURE, new Identifier("gameritems", "omnium_ore"), Registry.register(BuiltinRegistries.PLACED_FEATURE, new Identifier("gameritems", "omnium_ore"),
OMNIUM_ORE_PLACED_FEATURE); ORE_PLACED_FEATURE);
BiomeModifications.addFeature(BiomeSelectors.foundInOverworld(), GenerationStep.Feature.UNDERGROUND_ORES, BiomeModifications.addFeature(BiomeSelectors.foundInOverworld(), GenerationStep.Feature.UNDERGROUND_ORES,
RegistryKey.of(Registry.PLACED_FEATURE_KEY, RegistryKey.of(Registry.PLACED_FEATURE_KEY,
new Identifier("gameritems", "omnium_ore"))); new Identifier("gameritems", "omnium_ore")));

View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,16 @@
{
"variants": {
"axis=y": {
"model": "gameritems:block/weem_haybale"
},
"axis=z": {
"model": "gameritems:block/weem_haybale",
"x": 90
},
"axis=x": {
"model": "gameritems:block/weem_haybale",
"x": 90,
"y": 90
}
}
}

View File

@@ -1,18 +1,21 @@
{ {
// bullshit items
"item.gameritems.chin": "your chin", "item.gameritems.chin": "your chin",
"itemGroup.gameritems.chins": "funny stuff",
"item.gameritems.nuts": "nuts", "item.gameritems.nuts": "nuts",
"item.gameritems.deez": "deez", "item.gameritems.deez": "deez",
"item.gameritems.deez_nuts": "deez nuts", "item.gameritems.deez_nuts": "deez nuts",
"item.gameritems.deez_nuts_on_your_chin": "deez nuts on your chin", "item.gameritems.deez_nuts_on_your_chin": "deez nuts on your chin",
"item.gameritems.drag": "drag", "item.gameritems.drag": "drag",
"item.gameritems.drag_deez_nuts_on_your_chin": "drag deez nuts on our chin", "item.gameritems.drag_deez_nuts_on_your_chin": "drag deez nuts on our chin",
"item.gameritems.your_mother": "your mother",
"block.gameritems.matt_damon": "matt damon",
// omnium
"item.gameritems.omnium_ingot": "Omnium Ingot", "item.gameritems.omnium_ingot": "Omnium Ingot",
"block.gameritems.omnium_ore": "Omnium Ore", "block.gameritems.omnium_ore": "Omnium Ore",
"block.gameritems.omnium_block": "Omnium Block", "block.gameritems.omnium_block": "Omnium Block",
"item.gameritems.raw_omnium": "Raw Omnium", "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_sword": "Omnium Sword",
"item.gameritems.omnium_pickaxe": "Omnium Pickaxe", "item.gameritems.omnium_pickaxe": "Omnium Pickaxe",
"item.gameritems.omnium_helmet": "Omnium Helmet", "item.gameritems.omnium_helmet": "Omnium Helmet",
@@ -22,16 +25,29 @@
"item.gameritems.omnium_shovel": "Omnium Shovel", "item.gameritems.omnium_shovel": "Omnium Shovel",
"item.gameritems.omnium_axe": "Omnium Axe", "item.gameritems.omnium_axe": "Omnium Axe",
"item.gameritems.omnium_hoe": "Omnium Hoe", "item.gameritems.omnium_hoe": "Omnium Hoe",
"block.gameritems.deepslate_omnium_ore": "Deepslate Omnium Ore",
"item.gameritems.netherite_stick": "Netherite Stick", "item.gameritems.netherite_stick": "Netherite Stick",
"item.gameritems.omnium_sword.tooltip": "Surprisingly lightweight!",
// item groups
"itemGroup.gameritems.things": "ueh, stuff", "itemGroup.gameritems.things": "ueh, stuff",
"itemGroup.gameritems.armour_and_tools": "Armour, Weapons, and Tools", "itemGroup.gameritems.armour_and_tools": "Armour, Weapons, and Tools",
"item.gameritems.omnium_sword.tooltip": "Surprisingly lightweight!", "itemGroup.gameritems.chins": "funny stuff",
// weem items
"item.gameritems.weem": "Weem", "item.gameritems.weem": "Weem",
"item.gameritems.weem_seeds": "Weem Seeds", "item.gameritems.weem_seeds": "Weem Seeds",
"item.gameritems.weem_apple": "Weem Apple",
"block.gameritems.weem_haybale": "Weem Hay Bale",
"item.gameritems.breem": "Breem", "item.gameritems.breem": "Breem",
"item.gameritems.breem.tooltip": "High as a kite!", "item.gameritems.breem.tooltip": "High as a kite!",
"item.gameritems.weem.tooltip": "Higher than a kite!", "item.gameritems.weem.tooltip": "Higher than a kite!",
"item.gameritems.weem_apple": "Weem Apple",
// orium items
"block.gameritems.deepslate_orium_ore": "Deepslate Orium Ore",
"item.gameritems.orium.tooltip": "hahaha ore-ium", "item.gameritems.orium.tooltip": "hahaha ore-ium",
"block.gameritems.orium.tooltip": "hahaha ore-ium", "block.gameritems.orium.tooltip": "hahaha ore-ium",
"item.gameritems.raw_orium": "Raw Orium", "item.gameritems.raw_orium": "Raw Orium",
@@ -47,9 +63,19 @@
"item.gameritems.orium_hoe": "Orium Hoe", "item.gameritems.orium_hoe": "Orium Hoe",
"item.gameritems.orium_sword": "Orium Sword", "item.gameritems.orium_sword": "Orium Sword",
"item.gameritems.orium_pickaxe": "Orium Pickaxe", "item.gameritems.orium_pickaxe": "Orium Pickaxe",
// effects
"effect.gameritems.stupid": "Stupid",
"effect.gameritems.high": "High",
// fabric of reality
"item.gameritems.fabric_of_reality.tooltip": "Warning: has a chance to get §o§l§4RIPPED§r.", "item.gameritems.fabric_of_reality.tooltip": "Warning: has a chance to get §o§l§4RIPPED§r.",
"item.gameritems.fabric_of_reality": "Fabric of Reality", "item.gameritems.fabric_of_reality": "Fabric of Reality",
"effect.gameritems.high": "High",
// jeremium items
"item.gameritems.jeremium_ingot": "Jeremium Ingot", "item.gameritems.jeremium_ingot": "Jeremium Ingot",
"item.gameritems.raw_jeremium": "Raw Jeremium", "item.gameritems.raw_jeremium": "Raw Jeremium",
"block.gameritems.jeremium_ore": "Jeremium Ore", "block.gameritems.jeremium_ore": "Jeremium Ore",
@@ -67,8 +93,32 @@
"item.gameritems.jeremium_pickaxe": "Jeremium Pickaxe", "item.gameritems.jeremium_pickaxe": "Jeremium Pickaxe",
"item.gameritems.jeremium_sword.tooltip": "Kinda heavy", "item.gameritems.jeremium_sword.tooltip": "Kinda heavy",
"block.gameritems.deepslate_jeremium_ore": "Deepslate Jeremium Ore", "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"
// ETC
"item.gameritems.gamer_bow": "Gamer Bow",
// enchantments
"enchantment.gameritems.evade": "Evade",
// death messages
"death.attack.dumb": "%1$s choked on air.",
// stupidium items
"item.gameritems.stupidium.tooltip": "No brain here.",
"item.gameritems.dipstick": "Dipstick",
"block.gameritems.stupidium_ore": "Stupidium Ore",
"block.gameritems.deepslate_stupidium_ore": "Deepslate Stupidium Ore",
"block.gameritems.stupidium_block": "Stupidium Block",
"item.gameritems.stupidium_shovel": "Stupidium Shovel",
"item.gameritems.stupidium_sword": "Stupidium Sword",
"item.gameritems.stupidium_axe": "Stupidium Axe",
"item.gameritems.stupidium_hoe": "Stupidium Hoe",
"item.gameritems.stupidium_pickaxe": "Stupidium Pickaxe",
"item.gameritems.stupidium_sword.tooltip": "Inflicts Stupid on the victim.",
"item.gameritems.stupidium_ingot": "Stupidium Ingot",
"item.gameritems.raw_stupidium": "Raw Stupidium"
} }

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,7 @@
{
"parent": "minecraft:block/cube_column",
"textures": {
"end": "gameritems:block/weem_block_top",
"side": "gameritems:block/weem_block_side"
}
}

View File

@@ -0,0 +1,7 @@
{
"parent": "minecraft:block/cube_column_horizontal",
"textures": {
"end": "gameritems:block/weem_block_top",
"side": "gameritems:block/weem_block_side"
}
}

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 774 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 986 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 821 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

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