stuff
This commit is contained in:
parent
6731e64cb1
commit
5b33204e07
@ -51,8 +51,6 @@ public class Shitmod implements ModInitializer {
|
||||
|
||||
public static final Item KINGSOUL_CHARM = new kingsoul(new Item.Settings().group(Shitmod.CHARMS_GROUP).maxDamage(500).fireproof());
|
||||
|
||||
public static final StatusEffect KINGSOUL_CHARM_EFFECT = new kingsoulEffect();
|
||||
|
||||
public static final Item STALWART_SHELL_CHARM = new stalwartShell(new Item.Settings().group(Shitmod.CHARMS_GROUP).maxDamage(500).fireproof());
|
||||
|
||||
public static final Item FRAGILE_HEART_CHARM = new fragileHeartCharm(new Item.Settings().group(Shitmod.CHARMS_GROUP).maxDamage(100).fireproof());
|
||||
@ -79,7 +77,7 @@ public class Shitmod implements ModInitializer {
|
||||
|
||||
public static final ToolItem BLAZE_METAL_SHOVEL = new ShovelItem(blazeMetalMaterial.INSTANCE, 1f, 3.0f, new Item.Settings().group(Shitmod.TOOLS_GROUP).maxDamage(8000));
|
||||
|
||||
public static final ToolItem BLAZE_METAL_HOE = new blazeMetalHoe(blazeMetalMaterial.INSTANCE, new Item.Settings().group(Shitmod.TOOLS_GROUP).maxDamage(8000));
|
||||
public static final ToolItem BLAZE_METAL_HOE = new blazeMetalHoe(blazeMetalMaterial.INSTANCE, -4, 1f, new Item.Settings().group(Shitmod.TOOLS_GROUP).maxDamage(8000));
|
||||
|
||||
public static final Item BLAZE_METAL_INGOT = new blazeMetalIngot(new Item.Settings().group(Shitmod.GENERAL_GROUP));
|
||||
|
||||
@ -107,12 +105,22 @@ public class Shitmod implements ModInitializer {
|
||||
|
||||
public static final Item PULVERIZED_NETHERITE = new pulverizedNetherite(new Item.Settings().fireproof().group(Shitmod.GENERAL_GROUP));
|
||||
|
||||
public static final ToolItem COPPER_SWORD = new copperSword(copperMaterial.INSTANCE, 2, -2.4f, new Item.Settings().group(Shitmod.TOOLS_GROUP).maxDamage(250));
|
||||
|
||||
public static final ToolItem COPPER_PICKAXE = new copperPickaxe(copperMaterial.INSTANCE, 0, -2.8f, new Item.Settings().group(Shitmod.TOOLS_GROUP).maxDamage(250));
|
||||
|
||||
public static final ToolItem COPPER_AXE = new copperAxe(copperMaterial.INSTANCE, 5, -3.1f, new Item.Settings().group(Shitmod.TOOLS_GROUP).maxDamage(250));
|
||||
|
||||
public static final ToolItem COPPER_SHOVEL = new copperShovel(copperMaterial.INSTANCE, 0.5f, -3f, new Item.Settings().group(Shitmod.TOOLS_GROUP).maxDamage(250));
|
||||
|
||||
public static final ToolItem COPPER_HOE = new copperHoe(copperMaterial.INSTANCE, -3, -1f, new Item.Settings().group(Shitmod.TOOLS_GROUP).maxDamage(250));
|
||||
|
||||
@Override
|
||||
public void onInitialize() {
|
||||
|
||||
Registry.register(Registry.ITEM, new Identifier("shitmod", "fabric_item"), FABRIC_ITEM);
|
||||
Registry.register(Registry.ITEM, new Identifier("shitmod", "pp"), FABRIC_ITEM);
|
||||
|
||||
Registry.register(Registry.BLOCK, new Identifier("shitmod", "fabric_block"), FABRIC_BLOCK);
|
||||
Registry.register(Registry.BLOCK, new Identifier("shitmod", "gay_block"), FABRIC_BLOCK);
|
||||
Registry.register(Registry.ITEM, new Identifier("shitmod", "fabric_block"), new BlockItem(FABRIC_BLOCK, new FabricItemSettings().group(ItemGroup.MISC)));
|
||||
|
||||
Registry.register(Registry.ITEM, new Identifier("shitmod", "hausbommer"), HAUSBOMMER_ITEM);
|
||||
@ -127,8 +135,6 @@ public class Shitmod implements ModInitializer {
|
||||
|
||||
Registry.register(Registry.ITEM, new Identifier("shitmod", "kingsoul_charm"), KINGSOUL_CHARM);
|
||||
|
||||
Registry.register(Registry.STATUS_EFFECT, new Identifier("shitmod", "kingsoul_charm"), KINGSOUL_CHARM_EFFECT);
|
||||
|
||||
Registry.register(Registry.ITEM, new Identifier("shitmod", "stalwart_shell_charm"), STALWART_SHELL_CHARM);
|
||||
|
||||
Registry.register(Registry.ITEM, new Identifier("shitmod", "fragile_heart_charm"), FRAGILE_HEART_CHARM);
|
||||
@ -182,6 +188,16 @@ public class Shitmod implements ModInitializer {
|
||||
Registry.register(Registry.ITEM, new Identifier("shitmod", "pulverized_netherite"), PULVERIZED_NETHERITE);
|
||||
|
||||
Registry.register(Registry.ITEM, new Identifier("shitmod", "seared_gold_ingot"), SEARED_GOLD_INGOT);
|
||||
|
||||
Registry.register(Registry.ITEM, new Identifier("shitmod", "copper_sword"), COPPER_SWORD);
|
||||
|
||||
Registry.register(Registry.ITEM, new Identifier("shitmod", "copper_pickaxe"), COPPER_PICKAXE);
|
||||
|
||||
Registry.register(Registry.ITEM, new Identifier("shitmod", "copper_axe"), COPPER_AXE);
|
||||
|
||||
Registry.register(Registry.ITEM, new Identifier("shitmod", "copper_shovel"), COPPER_SHOVEL);
|
||||
|
||||
Registry.register(Registry.ITEM, new Identifier("shitmod", "copper_hoe"), COPPER_HOE);
|
||||
|
||||
}
|
||||
|
||||
|
@ -1,12 +1,12 @@
|
||||
package net.serenas.shitmod;
|
||||
|
||||
import net.minecraft.item.ToolItem;
|
||||
import net.minecraft.item.HoeItem;
|
||||
import net.minecraft.item.ToolMaterial;
|
||||
|
||||
public class blazeMetalHoe extends ToolItem {
|
||||
public class blazeMetalHoe extends HoeItem {
|
||||
|
||||
public blazeMetalHoe(ToolMaterial material, Settings settings) {
|
||||
super(material, settings);
|
||||
public blazeMetalHoe(ToolMaterial material, int attackDamage, float attackSpeed, Settings settings) {
|
||||
super(material, attackDamage, attackSpeed, settings);
|
||||
}
|
||||
|
||||
}
|
||||
|
41
src/main/java/net/serenas/shitmod/copperMaterial.java
Normal file
41
src/main/java/net/serenas/shitmod/copperMaterial.java
Normal file
@ -0,0 +1,41 @@
|
||||
package net.serenas.shitmod;
|
||||
|
||||
import net.minecraft.item.Items;
|
||||
import net.minecraft.item.ToolMaterial;
|
||||
import net.minecraft.recipe.Ingredient;
|
||||
|
||||
public class copperMaterial implements ToolMaterial {
|
||||
|
||||
public static final copperMaterial INSTANCE = new copperMaterial();
|
||||
|
||||
@Override
|
||||
public int getDurability() {
|
||||
return 250;
|
||||
}
|
||||
|
||||
@Override
|
||||
public float getMiningSpeedMultiplier() {
|
||||
return 6.0f;
|
||||
}
|
||||
|
||||
@Override
|
||||
public float getAttackDamage() {
|
||||
return 3.0f;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getMiningLevel() {
|
||||
return 2;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getEnchantability() {
|
||||
return 44;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Ingredient getRepairIngredient() {
|
||||
return Ingredient.ofItems(Items.COPPER_INGOT);
|
||||
}
|
||||
|
||||
}
|
@ -1,25 +0,0 @@
|
||||
package net.serenas.shitmod;
|
||||
|
||||
import net.minecraft.entity.LivingEntity;
|
||||
import net.minecraft.entity.effect.StatusEffect;
|
||||
import net.minecraft.entity.effect.StatusEffectCategory;
|
||||
import net.minecraft.entity.player.PlayerEntity;
|
||||
|
||||
public class kingsoulEffect extends StatusEffect{
|
||||
|
||||
public kingsoulEffect() {
|
||||
super(StatusEffectCategory.BENEFICIAL, 0x98D982);
|
||||
|
||||
}
|
||||
@Override
|
||||
public boolean canApplyUpdateEffect(int duration, int amplifier) {
|
||||
return true;
|
||||
}
|
||||
PlayerEntity playerentity;
|
||||
@Override
|
||||
public void applyUpdateEffect(LivingEntity entity, int amplifier) {
|
||||
if (entity instanceof PlayerEntity) {
|
||||
playerentity.getHungerManager().add(1, 1);
|
||||
}
|
||||
}
|
||||
}
|
@ -1,13 +1,13 @@
|
||||
{
|
||||
"item.shitmod.fabric_item": "Penis",
|
||||
"block.shitmod.fabric_block": "Gay Block",
|
||||
"item.shitmod.pp": "Penis",
|
||||
"block.shitmod.gay_block": "Gay Block",
|
||||
"item.shitmod.hausbommer": "Hausbommer",
|
||||
"effect.shitmod.exp": "Experience",
|
||||
"effect.shitmod.lean": "Lean",
|
||||
"item.shitmod.lean": "Lean",
|
||||
"item.shitmod.orange_juice": "Orange Juice",
|
||||
"item.shitmod.kingsoul_charm": "Kingsoul Charm",
|
||||
"itemGroup.shitmod.charms": "Charms",
|
||||
"itemGroup.shitmod.charms": "Shitmod Charms",
|
||||
"item.shitmod.stalwart_shell_charm": "Stalwart Shell Charm",
|
||||
"entity.minecraft.mooshroom": "Drug Cow",
|
||||
"item.shitmod.potato_chip": "Potato Chips",
|
||||
@ -33,5 +33,12 @@
|
||||
"item.shitmod.blaze_metal_pickaxe": "Blaze Metal Pickaxe",
|
||||
"item.shitmod.blaze_metal_axe": "Blaze Metal Axe",
|
||||
"item.shitmod.blaze_metal_shovel": "Blaze Metal Shovel",
|
||||
"item.shitmod.blaze_metal_hoe": "Blaze Metal Hoe"
|
||||
"item.shitmod.blaze_metal_hoe": "Blaze Metal Hoe",
|
||||
"item.shitmod.copper_sword": "Copper Sword",
|
||||
"item.shitmod.copper_pickaxe": "Copper Pickaxe",
|
||||
"item.shitmod.copper_axe": "Copper Axe",
|
||||
"item.shitmod.copper_shovel": "Copper Shovel",
|
||||
"item.shitmod.copper_hoe": "Copper Hoe",
|
||||
"itemGroup.shitmod.general": "Shitmod Misc",
|
||||
"itemGroup.shitmod.tools": "Shitmod Tools"
|
||||
}
|
@ -1,3 +0,0 @@
|
||||
{
|
||||
"parent": "shitmod:block/fabric_block"
|
||||
}
|
@ -0,0 +1,3 @@
|
||||
{
|
||||
"parent": "shitmod:block/gay_block"
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"parent": "item/generated",
|
||||
"textures": {
|
||||
"layer0": "shitmod:item/fabric_item"
|
||||
"layer0": "shitmod:item/pp"
|
||||
}
|
||||
}
|
@ -6,7 +6,7 @@
|
||||
"entries": [
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "shitmod:fabric_block",
|
||||
"name": "shitmod:gay_block",
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_count",
|
@ -1,11 +0,0 @@
|
||||
{
|
||||
"block": "shitmod:fabric_block",
|
||||
"dim": "minecraft:the_end",
|
||||
"ignitionType": "ITEM",
|
||||
"ignitionSource": "shitmod:fabric_item",
|
||||
"r": 255,
|
||||
"g": 192,
|
||||
"b": 203
|
||||
}
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
],
|
||||
"key": {
|
||||
"X": {
|
||||
"item": "shitmod:fabric_block"
|
||||
"item": "shitmod:gay_block"
|
||||
},
|
||||
"R": {
|
||||
"item": "shitmod:hausbommer"
|
||||
|
@ -10,14 +10,14 @@
|
||||
"item": "minecraft:dragon_head"
|
||||
},
|
||||
"R": {
|
||||
"item": "shitmod:fabric_block"
|
||||
"item": "shitmod:gay_block"
|
||||
},
|
||||
"W": {
|
||||
"item": "minecraft:netherite_block"
|
||||
}
|
||||
},
|
||||
"result": {
|
||||
"item": "shitmod:fabric_item",
|
||||
"item": "shitmod:pp",
|
||||
"count": 1
|
||||
}
|
||||
}
|
@ -14,7 +14,7 @@
|
||||
}
|
||||
},
|
||||
"result": {
|
||||
"item": "shitmod:fabric_block",
|
||||
"item": "shitmod:gay_block",
|
||||
"count": 4
|
||||
}
|
||||
}
|
@ -7,10 +7,10 @@
|
||||
],
|
||||
"key": {
|
||||
"X": {
|
||||
"item": "shitmod:fabric_item"
|
||||
"item": "shitmod:pp"
|
||||
},
|
||||
"R": {
|
||||
"item": "shitmod:fabric_block"
|
||||
"item": "shitmod:gay_block"
|
||||
},
|
||||
"W": {
|
||||
"item": "minecraft:iron_block"
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"replace": false,
|
||||
"values": [
|
||||
"shitmod:blaze_metal_pickaxe"
|
||||
"shitmod:blaze_metal_pickaxe",
|
||||
"shitmod:copper_pickaxe"
|
||||
]
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user