Compare commits
4 Commits
1.19/stabl
...
1.19/unsta
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b4a025bae1 | ||
|
|
a66c27ddce | ||
|
|
48a0915730 | ||
|
|
593208c052 |
15
CHANGELOG
@@ -1,3 +1,16 @@
|
|||||||
# Changes:
|
# Changes:
|
||||||
## 1.19-1.0.0-stable
|
## 1.19-1.0.0-stable
|
||||||
- updating is despicable
|
- updating is despicable
|
||||||
|
|
||||||
|
## 1.19-1.0.1-unstable
|
||||||
|
- added not tools
|
||||||
|
- added not armour
|
||||||
|
- added stupid/dumb damage source
|
||||||
|
- added stupid status effect
|
||||||
|
- added stupid tools
|
||||||
|
|
||||||
|
## 1.19-1.0.2-unstable
|
||||||
|
- added stupidium armour
|
||||||
|
- added textures for stupidium stuff
|
||||||
|
- fixed weem haybale
|
||||||
|
- fixed fucked audio blocks
|
||||||
@@ -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)
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
plugins {
|
plugins {
|
||||||
id 'fabric-loom' version '0.11-SNAPSHOT'
|
id 'fabric-loom' version '0.12-SNAPSHOT'
|
||||||
id 'maven-publish'
|
id 'maven-publish'
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -72,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")
|
||||||
|
|||||||
@@ -5,12 +5,12 @@ org.gradle.jvmargs=-Xmx6G
|
|||||||
# check these on https://fabricmc.net/develop
|
# check these on https://fabricmc.net/develop
|
||||||
minecraft_version=1.19
|
minecraft_version=1.19
|
||||||
yarn_mappings=1.19+build.4
|
yarn_mappings=1.19+build.4
|
||||||
loader_version=0.14.8
|
loader_version=0.14.10
|
||||||
|
|
||||||
# Mod Properties
|
# Mod Properties
|
||||||
mod_version = 1.19-1.0.0-stable
|
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.57.0+1.19
|
fabric_version=0.58.0+1.19
|
||||||
|
|||||||
2
gradle/wrapper/gradle-wrapper.properties
vendored
@@ -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.4.2-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
|
||||||
|
|||||||
@@ -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;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
@@ -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;
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -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;
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17,14 +17,14 @@ import net.minecraft.util.registry.Registry;
|
|||||||
|
|
||||||
public class weemCrop {
|
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 CropBlock WEEM_CROP_BLOCK = new WeemCropBlock(AbstractBlock.Settings.of(Material.PLANT).nonOpaque().noCollision().ticksRandomly().breakInstantly().sounds(BlockSoundGroup.CROP));
|
||||||
public static final Block WEEM_HAY_BLOCK = new PillarBlock(FabricBlockSettings.of(Material.SOLID_ORGANIC).nonOpaque().strength(1, 1).sounds(BlockSoundGroup.GRASS));
|
public static final Block WEEM_HAYBALE = new PillarBlock(FabricBlockSettings.of(Material.SOLID_ORGANIC).nonOpaque().strength(1, 1).sounds(BlockSoundGroup.GRASS));
|
||||||
|
|
||||||
public static void register() {
|
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_crop_block"), WEEM_CROP_BLOCK);
|
||||||
Registry.register(Registry.BLOCK, new Identifier("gameritems", "weem_hay_block"), WEEM_HAY_BLOCK);
|
Registry.register(Registry.BLOCK, new Identifier("gameritems", "weem_haybale"), WEEM_HAYBALE);
|
||||||
Registry.register(Registry.ITEM, new Identifier("gameritems", "weem_hay_block"), new BlockItem(WEEM_HAY_BLOCK, new FabricItemSettings().group(gameritems.CHING)));
|
Registry.register(Registry.ITEM, new Identifier("gameritems", "weem_haybale"), new BlockItem(WEEM_HAYBALE, new FabricItemSettings().group(gameritems.CHING)));
|
||||||
FlammableBlockRegistry.getDefaultInstance().add(WEEM_HAY_BLOCK, 60, 20);
|
FlammableBlockRegistry.getDefaultInstance().add(WEEM_HAYBALE, 60, 20);
|
||||||
|
|
||||||
gameritems.LOGGER.info("CropBlocks loaded");
|
gameritems.LOGGER.info("CropBlocks loaded");
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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");
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@@ -20,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(Text.translatable("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
|
||||||
|
|||||||
10
src/main/java/net/arcmods/ryantlg/customToolItemClasses/not/notAxeItem.java
Executable 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);
|
||||||
|
}
|
||||||
|
}
|
||||||
11
src/main/java/net/arcmods/ryantlg/customToolItemClasses/not/notHoeItem.java
Executable 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);
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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);
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@@ -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);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@@ -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);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@@ -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);
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@@ -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);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@@ -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);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@@ -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);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@@ -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());
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
@@ -4,23 +4,29 @@ import net.arcmods.ryantlg.blocks.cropBlocks.weemCrop;
|
|||||||
import net.arcmods.ryantlg.blocks.metalBlocks.jeremiumBlocks;
|
import net.arcmods.ryantlg.blocks.metalBlocks.jeremiumBlocks;
|
||||||
import net.arcmods.ryantlg.blocks.metalBlocks.omniumBlocks;
|
import net.arcmods.ryantlg.blocks.metalBlocks.omniumBlocks;
|
||||||
import net.arcmods.ryantlg.blocks.metalBlocks.oriumBlocks;
|
import net.arcmods.ryantlg.blocks.metalBlocks.oriumBlocks;
|
||||||
|
import net.arcmods.ryantlg.blocks.metalBlocks.stupidiumBlocks;
|
||||||
import net.arcmods.ryantlg.blocks.otherBlocks.FunnyBlocks;
|
import net.arcmods.ryantlg.blocks.otherBlocks.FunnyBlocks;
|
||||||
import net.arcmods.ryantlg.enchantments.evadeEnchantment;
|
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;
|
||||||
@@ -98,8 +104,15 @@ 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();
|
evadeEnchantment.register();
|
||||||
|
|
||||||
|
|||||||
@@ -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) );
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@@ -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) );
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@@ -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");
|
||||||
|
}
|
||||||
|
}
|
||||||
19
src/main/java/net/arcmods/ryantlg/items/bows/stupidBow.java
Normal 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);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
@@ -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");
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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");
|
||||||
}
|
}
|
||||||
|
|||||||
34
src/main/java/net/arcmods/ryantlg/items/tools/notTools.java
Normal 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");
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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");
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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);
|
||||||
|
|
||||||
|
|||||||
@@ -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);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@@ -6,5 +6,3 @@ argentine
|
|||||||
geranine
|
geranine
|
||||||
soulium
|
soulium
|
||||||
floute
|
floute
|
||||||
|
|
||||||
port to 1.18.1 when busyn't
|
|
||||||
36
src/main/java/net/arcmods/ryantlg/toolMaterials/notToolMaterial.java
Executable 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);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@@ -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);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"variants": {
|
||||||
|
"": { "model": "gameritems:block/deepslate_stupidium_ore" }
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"variants": {
|
||||||
|
"": { "model": "gameritems:block/stupidium_block" }
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"variants": {
|
||||||
|
"": { "model": "gameritems:block/stupidium_ore" }
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,14 +1,14 @@
|
|||||||
{
|
{
|
||||||
"variants": {
|
"variants": {
|
||||||
"axis=y": {
|
"axis=y": {
|
||||||
"model": "gameritems:block/weem_hay_block"
|
"model": "gameritems:block/weem_haybale"
|
||||||
},
|
},
|
||||||
"axis=z": {
|
"axis=z": {
|
||||||
"model": "gameritems:block/weem_hay_block",
|
"model": "gameritems:block/weem_haybale",
|
||||||
"x": 90
|
"x": 90
|
||||||
},
|
},
|
||||||
"axis=x": {
|
"axis=x": {
|
||||||
"model": "gameritems:block/weem_hay_block",
|
"model": "gameritems:block/weem_haybale",
|
||||||
"x": 90,
|
"x": 90,
|
||||||
"y": 90
|
"y": 90
|
||||||
}
|
}
|
||||||
@@ -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,10 +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",
|
|
||||||
"enchantment.gameritems.evade": "Evade",
|
|
||||||
"block.gameritems.weem_hay_block": "Weem Hay Bale"
|
|
||||||
|
|
||||||
|
|
||||||
|
// 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"
|
||||||
}
|
}
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"parent": "block/cube_all",
|
||||||
|
"textures": {
|
||||||
|
"all": "gameritems:block/deepslate_stupidium_ore"
|
||||||
|
}
|
||||||
|
}
|
||||||
6
src/main/resources/assets/gameritems/models/block/stupidium_block.json
Executable file
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"parent": "block/cube_all",
|
||||||
|
"textures": {
|
||||||
|
"all": "gameritems:block/stupidium_block"
|
||||||
|
}
|
||||||
|
}
|
||||||
6
src/main/resources/assets/gameritems/models/block/stupidium_ore.json
Executable file
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"parent": "block/cube_all",
|
||||||
|
"textures": {
|
||||||
|
"all": "gameritems:block/stupidium_ore"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"parent": "gameritems:block/deepslate_stupidium_ore"
|
||||||
|
}
|
||||||
6
src/main/resources/assets/gameritems/models/item/dipstick.json
Executable file
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"parent": "item/handheld",
|
||||||
|
"textures": {
|
||||||
|
"layer0": "gameritems:item/dipstick"
|
||||||
|
}
|
||||||
|
}
|
||||||
6
src/main/resources/assets/gameritems/models/item/not_axe.json
Executable file
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"parent": "item/handheld",
|
||||||
|
"textures": {
|
||||||
|
"layer0": "gameritems:item/not_axe"
|
||||||
|
}
|
||||||
|
}
|
||||||
6
src/main/resources/assets/gameritems/models/item/not_hoe.json
Executable file
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"parent": "item/handheld",
|
||||||
|
"textures": {
|
||||||
|
"layer0": "gameritems:item/not_hoe"
|
||||||
|
}
|
||||||
|
}
|
||||||
6
src/main/resources/assets/gameritems/models/item/not_pickaxe.json
Executable file
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"parent": "item/handheld",
|
||||||
|
"textures": {
|
||||||
|
"layer0": "gameritems:item/not_pickaxe"
|
||||||
|
}
|
||||||
|
}
|
||||||
6
src/main/resources/assets/gameritems/models/item/not_shovel.json
Executable file
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"parent": "item/handheld",
|
||||||
|
"textures": {
|
||||||
|
"layer0": "gameritems:item/not_shovel"
|
||||||
|
}
|
||||||
|
}
|
||||||
6
src/main/resources/assets/gameritems/models/item/not_sword.json
Executable file
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"parent": "item/handheld",
|
||||||
|
"textures": {
|
||||||
|
"layer0": "gameritems:item/not_sword"
|
||||||
|
}
|
||||||
|
}
|
||||||
6
src/main/resources/assets/gameritems/models/item/raw_stupidium.json
Executable file
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"parent": "item/generated",
|
||||||
|
"textures": {
|
||||||
|
"layer0": "gameritems:item/raw_stupidium"
|
||||||
|
}
|
||||||
|
}
|
||||||
6
src/main/resources/assets/gameritems/models/item/stupidium_axe.json
Executable file
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"parent": "item/handheld",
|
||||||
|
"textures": {
|
||||||
|
"layer0": "gameritems:item/stupidium_axe"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"parent": "gameritems:block/stupidium_block"
|
||||||
|
}
|
||||||
6
src/main/resources/assets/gameritems/models/item/stupidium_boots.json
Executable file
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"parent": "item/generated",
|
||||||
|
"textures": {
|
||||||
|
"layer0": "gameritems:item/stupidium_boots"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"parent": "item/generated",
|
||||||
|
"textures": {
|
||||||
|
"layer0": "gameritems:item/stupidium_chestplate"
|
||||||
|
}
|
||||||
|
}
|
||||||
6
src/main/resources/assets/gameritems/models/item/stupidium_helmet.json
Executable file
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"parent": "item/generated",
|
||||||
|
"textures": {
|
||||||
|
"layer0": "gameritems:item/stupidium_helmet"
|
||||||
|
}
|
||||||
|
}
|
||||||
6
src/main/resources/assets/gameritems/models/item/stupidium_hoe.json
Executable file
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"parent": "item/handheld",
|
||||||
|
"textures": {
|
||||||
|
"layer0": "gameritems:item/stupidium_hoe"
|
||||||
|
}
|
||||||
|
}
|
||||||
6
src/main/resources/assets/gameritems/models/item/stupidium_ingot.json
Executable file
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"parent": "item/generated",
|
||||||
|
"textures": {
|
||||||
|
"layer0": "gameritems:item/stupidium_ingot"
|
||||||
|
}
|
||||||
|
}
|
||||||
6
src/main/resources/assets/gameritems/models/item/stupidium_leggings.json
Executable file
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"parent": "item/generated",
|
||||||
|
"textures": {
|
||||||
|
"layer0": "gameritems:item/stupidium_leggings"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"parent": "gameritems:block/stupidium_ore"
|
||||||
|
}
|
||||||
6
src/main/resources/assets/gameritems/models/item/stupidium_pickaxe.json
Executable file
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"parent": "item/handheld",
|
||||||
|
"textures": {
|
||||||
|
"layer0": "gameritems:item/stupidium_pickaxe"
|
||||||
|
}
|
||||||
|
}
|
||||||
6
src/main/resources/assets/gameritems/models/item/stupidium_shovel.json
Executable file
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"parent": "item/handheld",
|
||||||
|
"textures": {
|
||||||
|
"layer0": "gameritems:item/stupidium_shovel"
|
||||||
|
}
|
||||||
|
}
|
||||||
6
src/main/resources/assets/gameritems/models/item/stupidium_sword.json
Executable file
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"parent": "item/handheld",
|
||||||
|
"textures": {
|
||||||
|
"layer0": "gameritems:item/stupidium_sword"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
{
|
|
||||||
"parent": "gameritems:block/weem_hay_block"
|
|
||||||
}
|
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"parent": "gameritems:block/weem_haybale"
|
||||||
|
}
|
||||||
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 774 B |
|
After Width: | Height: | Size: 986 B |
BIN
src/main/resources/assets/gameritems/textures/item/dipstick.png
Normal file
|
After Width: | Height: | Size: 272 B |
BIN
src/main/resources/assets/gameritems/textures/item/not_axe.png
Normal file
|
After Width: | Height: | Size: 377 B |
BIN
src/main/resources/assets/gameritems/textures/item/not_hoe.png
Normal file
|
After Width: | Height: | Size: 369 B |
|
After Width: | Height: | Size: 378 B |
|
After Width: | Height: | Size: 362 B |
BIN
src/main/resources/assets/gameritems/textures/item/not_sword.png
Normal file
|
After Width: | Height: | Size: 409 B |
|
After Width: | Height: | Size: 764 B |
|
After Width: | Height: | Size: 436 B |
|
After Width: | Height: | Size: 398 B |
|
After Width: | Height: | Size: 457 B |
|
After Width: | Height: | Size: 348 B |
|
After Width: | Height: | Size: 429 B |
|
After Width: | Height: | Size: 387 B |
|
After Width: | Height: | Size: 316 B |
|
After Width: | Height: | Size: 461 B |
|
After Width: | Height: | Size: 395 B |
|
After Width: | Height: | Size: 493 B |
|
After Width: | Height: | Size: 17 KiB |
|
After Width: | Height: | Size: 1.9 KiB |
|
After Width: | Height: | Size: 1023 B |
@@ -3,6 +3,8 @@
|
|||||||
"values": [
|
"values": [
|
||||||
"gameritems:omnium_axe",
|
"gameritems:omnium_axe",
|
||||||
"gameritems:orium_axe",
|
"gameritems:orium_axe",
|
||||||
"gameritems:jeremium_axe"
|
"gameritems:jeremium_axe",
|
||||||
|
"gameritems:stupidium_axe",
|
||||||
|
"gameritems:not_axe"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -3,6 +3,8 @@
|
|||||||
"values": [
|
"values": [
|
||||||
"gameritems:omnium_hoe",
|
"gameritems:omnium_hoe",
|
||||||
"gameritems:orium_hoe",
|
"gameritems:orium_hoe",
|
||||||
"gameritems:jeremium_hoe"
|
"gameritems:jeremium_hoe",
|
||||||
|
"gameritems:stupidium_hoe",
|
||||||
|
"gameritems:not_hoe"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -3,6 +3,8 @@
|
|||||||
"values": [
|
"values": [
|
||||||
"gameritems:omnium_pickaxe",
|
"gameritems:omnium_pickaxe",
|
||||||
"gameritems:orium_pickaxe",
|
"gameritems:orium_pickaxe",
|
||||||
"gameritems:jeremium_pickaxe"
|
"gameritems:jeremium_pickaxe",
|
||||||
|
"gameritems:stupidium_pickaxe",
|
||||||
|
"gameritems:not_pickaxe"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -3,6 +3,8 @@
|
|||||||
"values": [
|
"values": [
|
||||||
"gameritems:omnium_shovel",
|
"gameritems:omnium_shovel",
|
||||||
"gameritems:orium_shovel",
|
"gameritems:orium_shovel",
|
||||||
"gameritems:jeremium_shovel"
|
"gameritems:jeremium_shovel",
|
||||||
|
"gameritems:stupidium_shovel",
|
||||||
|
"gameritems:not_shovel"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -3,6 +3,8 @@
|
|||||||
"values": [
|
"values": [
|
||||||
"gameritems:omnium_sword",
|
"gameritems:omnium_sword",
|
||||||
"gameritems:orium_sword",
|
"gameritems:orium_sword",
|
||||||
"gameritems:jeremium_sword"
|
"gameritems:jeremium_sword",
|
||||||
|
"gameritems:stupidium_sword",
|
||||||
|
"gameritems:not_sword"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -0,0 +1,49 @@
|
|||||||
|
{
|
||||||
|
"type": "minecraft:block",
|
||||||
|
"pools": [
|
||||||
|
{
|
||||||
|
"rolls": 1,
|
||||||
|
"bonus_rolls": 0,
|
||||||
|
"entries": [
|
||||||
|
{
|
||||||
|
"type": "minecraft:alternatives",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"name": "gameritems:deepslate_stupidium_ore",
|
||||||
|
"conditions": [
|
||||||
|
{
|
||||||
|
"condition": "minecraft:match_tool",
|
||||||
|
"predicate": {
|
||||||
|
"enchantments": [
|
||||||
|
{
|
||||||
|
"enchantment": "minecraft:silk_touch",
|
||||||
|
"levels": {
|
||||||
|
"min": 1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"name": "gameritems:raw_stupidium",
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"function": "minecraft:apply_bonus",
|
||||||
|
"enchantment": "minecraft:fortune",
|
||||||
|
"formula": "minecraft:ore_drops"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"function": "minecraft:explosion_decay"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
19
src/main/resources/data/gameritems/loot_tables/blocks/stupidium_block.json
Executable file
@@ -0,0 +1,19 @@
|
|||||||
|
{
|
||||||
|
"type": "minecraft:block",
|
||||||
|
"pools": [
|
||||||
|
{
|
||||||
|
"rolls": 1,
|
||||||
|
"entries": [
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"name": "gameritems:stupidium_block"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"conditions": [
|
||||||
|
{
|
||||||
|
"condition": "minecraft:survives_explosion"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||