use of net.minecraft.util.Identifier in project wildmod by Osmiooo.
the class ChestBoatEntity method readCustomDataFromNbt.
protected void readCustomDataFromNbt(NbtCompound nbt) {
if (nbt.contains("Type", 8)) {
this.setBoatType(ChestBoatEntity.Type.getType(nbt.getString("Type")));
}
this.inventory = DefaultedList.ofSize(this.size(), ItemStack.EMPTY);
if (nbt.contains("LootTable", 8)) {
this.lootTableId = new Identifier(nbt.getString("LootTable"));
this.lootSeed = nbt.getLong("LootTableSeed");
} else {
Inventories.readNbt(nbt, this.inventory);
}
}
use of net.minecraft.util.Identifier in project wildmod by Osmiooo.
the class ChestBoatEntityRenderer method render.
public void render(ChestBoatEntity boatEntity, float f, float g, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int i) {
matrixStack.push();
matrixStack.translate(0.0D, 0.375D, 0.0D);
matrixStack.multiply(Vec3f.POSITIVE_Y.getDegreesQuaternion(180.0F - f));
float h = (float) boatEntity.getDamageWobbleTicks() - g;
float j = boatEntity.getDamageWobbleStrength() - g;
if (j < 0.0F) {
j = 0.0F;
}
if (h > 0.0F) {
matrixStack.multiply(Vec3f.POSITIVE_X.getDegreesQuaternion(MathHelper.sin(h) * h * j / 10.0F * (float) boatEntity.getDamageWobbleSide()));
}
float k = boatEntity.interpolateBubbleWobble(g);
if (!MathHelper.approximatelyEquals(k, 0.0F)) {
matrixStack.multiply(new Quaternion(new Vec3f(1.0F, 0.0F, 1.0F), boatEntity.interpolateBubbleWobble(g), true));
}
Pair<Identifier, ChestBoatEntityModel> pair = (Pair) this.texturesAndModels.get(boatEntity.getBoatType());
Identifier identifier = (Identifier) pair.getFirst();
ChestBoatEntityModel boatEntityModel = (ChestBoatEntityModel) pair.getSecond();
matrixStack.scale(-1.0F, -1.0F, 1.0F);
matrixStack.multiply(Vec3f.POSITIVE_Y.getDegreesQuaternion(90.0F));
boatEntityModel.setAngles(boatEntity, g, 0.0F, -0.1F, 0.0F, 0.0F);
VertexConsumer vertexConsumer = vertexConsumerProvider.getBuffer(boatEntityModel.getLayer(identifier));
boatEntityModel.render(matrixStack, vertexConsumer, i, OverlayTexture.DEFAULT_UV, 1.0F, 1.0F, 1.0F, 1.0F);
if (!boatEntity.isSubmergedInWater()) {
VertexConsumer vertexConsumer2 = vertexConsumerProvider.getBuffer(RenderLayer.getWaterMask());
boatEntityModel.getWaterPatch().render(matrixStack, vertexConsumer2, i, OverlayTexture.DEFAULT_UV);
}
matrixStack.pop();
super.render(boatEntity, f, g, matrixStack, vertexConsumerProvider, i);
}
use of net.minecraft.util.Identifier in project wildmod by Osmiooo.
the class RegisterBlocks method RegisterBlocks.
public static void RegisterBlocks() {
Registry.register(Registry.BLOCK, new Identifier(WildMod.MOD_ID, "mud_block"), MUD_BLOCK);
Registry.register(Registry.ITEM, new Identifier(WildMod.MOD_ID, "mud_block"), new BlockItem(MUD_BLOCK, new FabricItemSettings().group(ItemGroup.BUILDING_BLOCKS)));
Registry.register(Registry.BLOCK, new Identifier(WildMod.MOD_ID, "mud_bricks"), MUD_BRICKS);
Registry.register(Registry.ITEM, new Identifier(WildMod.MOD_ID, "mud_bricks"), new BlockItem(MUD_BRICKS, new FabricItemSettings().group(ItemGroup.BUILDING_BLOCKS)));
Registry.register(Registry.BLOCK, new Identifier(WildMod.MOD_ID, "mud_brick_wall"), MUD_BRICKS_WALL);
Registry.register(Registry.ITEM, new Identifier(WildMod.MOD_ID, "mud_brick_wall"), new BlockItem(MUD_BRICKS_WALL, new FabricItemSettings().group(ItemGroup.BUILDING_BLOCKS)));
Registry.register(Registry.BLOCK, new Identifier(WildMod.MOD_ID, "mud_brick_slab"), MUD_BRICKS_SLAB);
Registry.register(Registry.ITEM, new Identifier(WildMod.MOD_ID, "mud_brick_slab"), new BlockItem(MUD_BRICKS_SLAB, new FabricItemSettings().group(ItemGroup.BUILDING_BLOCKS)));
Registry.register(Registry.BLOCK, new Identifier(WildMod.MOD_ID, "mud_brick_stairs"), MUD_BRICKS_STAIRS);
Registry.register(Registry.ITEM, new Identifier(WildMod.MOD_ID, "mud_brick_stairs"), new BlockItem(MUD_BRICKS_STAIRS, new FabricItemSettings().group(ItemGroup.BUILDING_BLOCKS)));
Registry.register(Registry.BLOCK, new Identifier(WildMod.MOD_ID, "sculk"), SCULK);
Registry.register(Registry.ITEM, new Identifier(WildMod.MOD_ID, "sculk"), new BlockItem(SCULK, new FabricItemSettings().group(ItemGroup.REDSTONE)));
Registry.register(Registry.BLOCK, new Identifier(WildMod.MOD_ID, "sculk_vein"), SCULK_VEIN);
Registry.register(Registry.ITEM, new Identifier(WildMod.MOD_ID, "sculk_vein"), new BlockItem(SCULK_VEIN, new FabricItemSettings().group(ItemGroup.REDSTONE)));
Registry.register(Registry.ITEM, new Identifier(WildMod.MOD_ID, "sculk_sensor"), new BlockItem(Blocks.SCULK_SENSOR, new FabricItemSettings().group(ItemGroup.REDSTONE)));
Registry.register(Registry.BLOCK, new Identifier(WildMod.MOD_ID, "sculk_catalyst"), SCULK_CATALYST);
Registry.register(Registry.ITEM, new Identifier(WildMod.MOD_ID, "sculk_catalyst"), new BlockItem(SCULK_CATALYST, new FabricItemSettings().group(ItemGroup.REDSTONE)));
Registry.register(Registry.BLOCK, new Identifier(WildMod.MOD_ID, "sculk_shrieker"), SculkShriekerBlock.SCULK_SHRIEKER_BLOCK);
Registry.register(Registry.ITEM, new Identifier(WildMod.MOD_ID, "sculk_shrieker"), new BlockItem(SculkShriekerBlock.SCULK_SHRIEKER_BLOCK, new FabricItemSettings().group(ItemGroup.REDSTONE)));
Registry.register(Registry.BLOCK, new Identifier(WildMod.MOD_ID, "reinforced_deepslate"), REINFORCED_DEEPSLATE);
Registry.register(Registry.ITEM, new Identifier(WildMod.MOD_ID, "reinforced_deepslate"), new BlockItem(REINFORCED_DEEPSLATE, new FabricItemSettings().group(ItemGroup.BUILDING_BLOCKS)));
Registry.register(Registry.BLOCK, new Identifier(WildMod.MOD_ID, "frog_spawn"), FROG_SPAWN);
Registry.register(Registry.ITEM, new Identifier(WildMod.MOD_ID, "frog_spawn"), new FrogSpawnItem(FROG_SPAWN, new FabricItemSettings().group(ItemGroup.DECORATIONS)));
Registry.register(Registry.BLOCK, new Identifier(WildMod.MOD_ID, "pearlescent_froglight"), PEARLESCENT_FROGLIGHT);
Registry.register(Registry.ITEM, new Identifier(WildMod.MOD_ID, "pearlescent_froglight"), new BlockItem(PEARLESCENT_FROGLIGHT, new FabricItemSettings().group(ItemGroup.DECORATIONS)));
Registry.register(Registry.BLOCK, new Identifier(WildMod.MOD_ID, "verdant_froglight"), VERDANT_FROGLIGHT);
Registry.register(Registry.ITEM, new Identifier(WildMod.MOD_ID, "verdant_froglight"), new BlockItem(VERDANT_FROGLIGHT, new FabricItemSettings().group(ItemGroup.DECORATIONS)));
Registry.register(Registry.BLOCK, new Identifier(WildMod.MOD_ID, "ochre_froglight"), OCHRE_FROGLIGHT);
Registry.register(Registry.ITEM, new Identifier(WildMod.MOD_ID, "ochre_froglight"), new BlockItem(OCHRE_FROGLIGHT, new FabricItemSettings().group(ItemGroup.DECORATIONS)));
MangroveWoods.RegisterMangrove();
Registry.register(Registry.BLOCK, new Identifier(WildMod.MOD_ID, "rooted_mud"), ROOTED_MUD);
Registry.register(Registry.ITEM, new Identifier(WildMod.MOD_ID, "rooted_mud"), new BlockItem(ROOTED_MUD, new FabricItemSettings().group(ItemGroup.DECORATIONS)));
}
use of net.minecraft.util.Identifier in project MCDungeonsWeapons by chronosacaria.
the class McdwClient method registerCrossbowPredicates.
public static void registerCrossbowPredicates(McdwCrossbow crossbow) {
FabricModelPredicateProviderRegistry.register(crossbow, new Identifier("pull"), (itemStack, clientWorld, livingEntity) -> {
if (livingEntity == null) {
return 0.0F;
} else {
return McdwCrossbow.isCharged(itemStack) ? 0.0F : (float) (itemStack.getMaxUseTime() - livingEntity.getItemUseTimeLeft()) / (float) McdwCrossbow.getPullTime(itemStack);
}
});
FabricModelPredicateProviderRegistry.register(crossbow, new Identifier("pulling"), (itemStack, clientWorld, livingEntity) -> {
if (livingEntity == null) {
return 0.0F;
} else {
return livingEntity.isUsingItem() && livingEntity.getActiveItem() == itemStack && !McdwCrossbow.isCharged(itemStack) ? 1.0F : 0.0F;
}
});
FabricModelPredicateProviderRegistry.register(crossbow, new Identifier("charged"), (itemStack, clientWorld, livingEntity) -> {
if (livingEntity == null) {
return 0.0F;
} else {
return McdwCrossbow.isCharged(itemStack) ? 1.0F : 0.0F;
}
});
FabricModelPredicateProviderRegistry.register(crossbow, new Identifier("firework"), (itemStack, clientWorld, livingEntity) -> {
if (livingEntity == null) {
return 0.0F;
} else {
return McdwCrossbow.isCharged(itemStack) && McdwCrossbow.hasProjectile(itemStack, Items.FIREWORK_ROCKET) ? 1.0F : 0.0F;
}
});
}
use of net.minecraft.util.Identifier in project MCDungeonsWeapons by chronosacaria.
the class McdwEnchantsGiverConfig method appendEnchants.
public static void appendEnchants() {
if (McdwEnchantsConfig.getValue("enable_innate_enchants")) {
// BONUS SHOT ENCHANTMENT
EnchantsList.addEnchant(Registry.ITEM.getId(ItemRegistry.ITEMS.get("crossbow_auto_crossbow")), new Identifier("mcdw:bonus_shot"), 1, true);
EnchantsList.addEnchant(Registry.ITEM.getId(ItemRegistry.ITEMS.get("crossbow_butterfly_crossbow")), new Identifier("mcdw:bonus_shot"), 1, true);
// CHAINS ENCHANTMENT
EnchantsList.addEnchant(Registry.ITEM.getId(ItemRegistry.ITEMS.get("hammer_flail")), new Identifier("mcdw:chains"), 1, true);
EnchantsList.addEnchant(Registry.ITEM.getId(ItemRegistry.ITEMS.get("sickle_jailors_scythe")), new Identifier("mcdw:chains"), 1, true);
// CHAIN REACTION ENCHANTMENT
EnchantsList.addEnchant(Registry.ITEM.getId(ItemRegistry.ITEMS.get("crossbow_firebolt_thrower")), new Identifier("mcdw:chain_reaction"), 1, true);
// CHARGE ENCHANTMENT
EnchantsList.addEnchant(Registry.ITEM.getId(ItemRegistry.ITEMS.get("bow_burst_gale_bow")), new Identifier("mcdw:charge"), 1, true);
// COMMITTED ENCHANTMENT
EnchantsList.addEnchant(Registry.ITEM.getId(ItemRegistry.ITEMS.get("sword_truthseeker")), new Identifier("mcdw:committed"), 1, true);
EnchantsList.addEnchant(Registry.ITEM.getId(ItemRegistry.ITEMS.get("staff_growing_staff")), new Identifier("mcdw:committed"), 1, true);
// CRITICAL HIT ENCHANTMENT
EnchantsList.addEnchant(Registry.ITEM.getId(ItemRegistry.ITEMS.get("sword_hawkbrand")), new Identifier("mcdw:critical_hit"), 1, true);
EnchantsList.addEnchant(Registry.ITEM.getId(ItemRegistry.ITEMS.get("sword_masters_katana")), new Identifier("mcdw:critical_hit"), 1, true);
// ECHO ENCHANTMENT
EnchantsList.addEnchant(Registry.ITEM.getId(ItemRegistry.ITEMS.get("spear_whispering_spear")), new Identifier("mcdw:echo"), 1, true);
// ENIGMA RESONATOR ENCHANTMENT
EnchantsList.addEnchant(Registry.ITEM.getId(ItemRegistry.ITEMS.get("dagger_moon")), new Identifier("mcdw:enigma_resonator"), 1, true);
EnchantsList.addEnchant(Registry.ITEM.getId(ItemRegistry.ITEMS.get("gauntlet_soul_fists")), new Identifier("mcdw:enigma_resonator"), 1, true);
EnchantsList.addEnchant(Registry.ITEM.getId(ItemRegistry.ITEMS.get("sword_sponge_striker")), new Identifier("mcdw:enigma_resonator"), 1, true);
// EXPLODING ENCHANTMENT
EnchantsList.addEnchant(Registry.ITEM.getId(ItemRegistry.ITEMS.get("axe_cursed")), new Identifier("mcdw:exploding"), 1, true);
EnchantsList.addEnchant(Registry.ITEM.getId(ItemRegistry.ITEMS.get("staff_battlestaff_of_terror")), new Identifier("mcdw:exploding"), 1, true);
// FIRE ASPECT ENCHANTMENT
EnchantsList.addEnchant(Registry.ITEM.getId(ItemRegistry.ITEMS.get("axe_firebrand")), new Identifier("minecraft:fire_aspect"), 1, true);
// FREEZING ENCHANTMENT
EnchantsList.addEnchant(Registry.ITEM.getId(ItemRegistry.ITEMS.get("dagger_fangs_of_frost")), new Identifier("mcdw:freezing"), 1, true);
EnchantsList.addEnchant(Registry.ITEM.getId(ItemRegistry.ITEMS.get("sickle_frost_scythe")), new Identifier("mcdw:freezing"), 1, true);
EnchantsList.addEnchant(Registry.ITEM.getId(ItemRegistry.ITEMS.get("sword_freezing_foil")), new Identifier("mcdw:freezing"), 1, true);
EnchantsList.addEnchant(Registry.ITEM.getId(ItemRegistry.ITEMS.get("dagger_chill_gale_knife")), new Identifier("mcdw:freezing"), 1, true);
EnchantsList.addEnchant(Registry.ITEM.getId(ItemRegistry.ITEMS.get("sword_frost_slayer")), new Identifier("mcdw:freezing"), 1, true);
// FUSE SHOT ENCHANTMENT
EnchantsList.addEnchant(Registry.ITEM.getId(ItemRegistry.ITEMS.get("crossbow_exploding_crossbow")), new Identifier("mcdw:fuse_shot"), 1, true);
EnchantsList.addEnchant(Registry.ITEM.getId(ItemRegistry.ITEMS.get("bow_red_snake")), new Identifier("mcdw:fuse_shot"), 1, true);
// GRAVITY ENCHANTMENT
EnchantsList.addEnchant(Registry.ITEM.getId(ItemRegistry.ITEMS.get("hammer_gravity")), new Identifier("mcdw:gravity"), 1, true);
EnchantsList.addEnchant(Registry.ITEM.getId(ItemRegistry.ITEMS.get("crossbow_imploding_crossbow")), new Identifier("mcdw:gravity"), 1, true);
EnchantsList.addEnchant(Registry.ITEM.getId(ItemRegistry.ITEMS.get("crossbow_voidcaller_crossbow")), new Identifier("mcdw:gravity"), 1, true);
EnchantsList.addEnchant(Registry.ITEM.getId(ItemRegistry.ITEMS.get("axe_encrusted_anchor")), new Identifier("mcdw:gravity"), 1, true);
// GROWING ENCHANTMENT
EnchantsList.addEnchant(Registry.ITEM.getId(ItemRegistry.ITEMS.get("bow_bonebow")), new Identifier("mcdw:growing"), 1, true);
EnchantsList.addEnchant(Registry.ITEM.getId(ItemRegistry.ITEMS.get("crossbow_baby_crossbow")), new Identifier("mcdw:growing"), 1, true);
// ILLAGER'S BANE ENCHANTMENT
EnchantsList.addEnchant(Registry.ITEM.getId(ItemRegistry.ITEMS.get("hammer_bone_cudgel")), new Identifier("mcdw:illagers_bane"), 1, true);
// JUNGLE'S POISON ENCHANTMENT
EnchantsList.addEnchant(Registry.ITEM.getId(ItemRegistry.ITEMS.get("whip_vine_whip")), new Identifier("mcdw:jungle_poison"), 1, true);
EnchantsList.addEnchant(Registry.ITEM.getId(ItemRegistry.ITEMS.get("axe_encrusted_anchor")), new Identifier("mcdw:jungle_poison"), 1, false);
// LEECHING ENCHANTMENT
EnchantsList.addEnchant(Registry.ITEM.getId(ItemRegistry.ITEMS.get("sword_heartstealer")), new Identifier("mcdw:leeching"), 1, true);
// LOOTING ENCHANTMENT
EnchantsList.addEnchant(Registry.ITEM.getId(ItemRegistry.ITEMS.get("spear_fortune")), new Identifier("minecraft:looting"), 1, true);
// MULTISHOT ENCHANTMENT
EnchantsList.addEnchant(Registry.ITEM.getId(ItemRegistry.ITEMS.get("bow_lost_souls")), new Identifier("minecraft:multishot"), 1, true);
// PIERCING ENCHANTMENT
EnchantsList.addEnchant(Registry.ITEM.getId(ItemRegistry.ITEMS.get("crossbow_the_slicer")), new Identifier("minecraft:piercing"), 1, true);
EnchantsList.addEnchant(Registry.ITEM.getId(ItemRegistry.ITEMS.get("crossbow_pride_of_the_piglins")), new Identifier("minecraft:piercing"), 1, true);
EnchantsList.addEnchant(Registry.ITEM.getId(ItemRegistry.ITEMS.get("crossbow_nautical_crossbow")), new Identifier("minecraft:piercing"), 1, true);
// POISON CLOUD ENCHANTMENT
EnchantsList.addEnchant(Registry.ITEM.getId(ItemRegistry.ITEMS.get("sickle_nightmares_bite")), new Identifier("mcdw:poison_cloud"), 1, true);
EnchantsList.addEnchant(Registry.ITEM.getId(ItemRegistry.ITEMS.get("spear_venom_glaive")), new Identifier("mcdw:poison_cloud"), 1, true);
EnchantsList.addEnchant(Registry.ITEM.getId(ItemRegistry.ITEMS.get("bow_green_menace")), new Identifier("mcdw:poison_cloud"), 1, true);
// POWER ENCHANTMENT
EnchantsList.addEnchant(Registry.ITEM.getId(ItemRegistry.ITEMS.get("bow_masters_bow")), new Identifier("minecraft:power"), 1, true);
EnchantsList.addEnchant(Registry.ITEM.getId(ItemRegistry.ITEMS.get("bow_elite_power_bow")), new Identifier("minecraft:power"), 1, true);
// PROSPECTOR ENCHANTMENT
EnchantsList.addEnchant(Registry.ITEM.getId(ItemRegistry.ITEMS.get("sickle_last_laugh_gold")), new Identifier("mcdw:prospector"), 1, true);
EnchantsList.addEnchant(Registry.ITEM.getId(ItemRegistry.ITEMS.get("sickle_last_laugh_silver")), new Identifier("mcdw:prospector"), 1, true);
// PUNCH ENCHANTMENT
EnchantsList.addEnchant(Registry.ITEM.getId(ItemRegistry.ITEMS.get("crossbow_doom_crossbow")), new Identifier("minecraft:punch"), 1, true);
// RADIANCE ENCHANTMENT
EnchantsList.addEnchant(Registry.ITEM.getId(ItemRegistry.ITEMS.get("hammer_suns_grace")), new Identifier("mcdw:radiance"), 1, true);
// RADIANCE SHOT ENCHANTMENT
EnchantsList.addEnchant(Registry.ITEM.getId(ItemRegistry.ITEMS.get("bow_sabrewing")), new Identifier("mcdw:radiance_shot"), 1, true);
EnchantsList.addEnchant(Registry.ITEM.getId(ItemRegistry.ITEMS.get("bow_love_spell_bow")), new Identifier("mcdw:radiance_shot"), 1, true);
// RAMPAGING ENCHANTMENT
EnchantsList.addEnchant(Registry.ITEM.getId(ItemRegistry.ITEMS.get("sword_dancers_sword")), new Identifier("mcdw:rampaging"), 1, true);
EnchantsList.addEnchant(Registry.ITEM.getId(ItemRegistry.ITEMS.get("gauntlet_maulers")), new Identifier("mcdw:rampaging"), 1, true);
// REPLENISH ENCHANTMENT
EnchantsList.addEnchant(Registry.ITEM.getId(ItemRegistry.ITEMS.get("bow_hunters_promise")), new Identifier("mcdw:replenish"), 1, true);
// RICOCHET ENCHANTMENT
EnchantsList.addEnchant(Registry.ITEM.getId(ItemRegistry.ITEMS.get("crossbow_lightning_harp_crossbow")), new Identifier("mcdw:ricochet"), 1, true);
EnchantsList.addEnchant(Registry.ITEM.getId(ItemRegistry.ITEMS.get("crossbow_slayer_crossbow")), new Identifier("mcdw:ricochet"), 1, true);
EnchantsList.addEnchant(Registry.ITEM.getId(ItemRegistry.ITEMS.get("bow_echo_of_the_valley")), new Identifier("mcdw:ricochet"), 1, true);
EnchantsList.addEnchant(Registry.ITEM.getId(ItemRegistry.ITEMS.get("bow_bubble_burster")), new Identifier("mcdw:ricochet"), 1, true);
// RUSHDOWN ENCHANTMENT
EnchantsList.addEnchant(Registry.ITEM.getId(ItemRegistry.ITEMS.get("dagger_resolute_tempest_knife")), new Identifier("mcdw:rushdown"), 1, true);
// SHOCKWAVE ENCHANTMENT
EnchantsList.addEnchant(Registry.ITEM.getId(ItemRegistry.ITEMS.get("axe_whirlwind")), new Identifier("mcdw:shockwave"), 1, true);
// SMITING ENCHANTMENT
EnchantsList.addEnchant(Registry.ITEM.getId(ItemRegistry.ITEMS.get("spear_grave_bane")), new Identifier("mcdw:smiting"), 1, true);
EnchantsList.addEnchant(Registry.ITEM.getId(ItemRegistry.ITEMS.get("sword_dark_katana")), new Identifier("mcdw:smiting"), 1, true);
// SOUL SIPHON ENCHANTMENT
EnchantsList.addEnchant(Registry.ITEM.getId(ItemRegistry.ITEMS.get("dagger_eternal_knife")), new Identifier("mcdw:soul_siphon"), 1, true);
// STUNNING ENCHANTMENT
EnchantsList.addEnchant(Registry.ITEM.getId(ItemRegistry.ITEMS.get("axe_highland")), new Identifier("mcdw:stunning"), 1, true);
// SWIRLING ENCHANTMENT
EnchantsList.addEnchant(Registry.ITEM.getId(ItemRegistry.ITEMS.get("dagger_shear_dagger")), new Identifier("mcdw:swirling"), 1, true);
EnchantsList.addEnchant(Registry.ITEM.getId(ItemRegistry.ITEMS.get("sword_broadsword")), new Identifier("mcdw:swirling"), 1, true);
// TEMPO THEFT ENCHANTMENT
EnchantsList.addEnchant(Registry.ITEM.getId(ItemRegistry.ITEMS.get("bow_nocturnal_bow")), new Identifier("mcdw:tempo_theft"), 1, true);
EnchantsList.addEnchant(Registry.ITEM.getId(ItemRegistry.ITEMS.get("bow_shivering_bow")), new Identifier("mcdw:tempo_theft"), 1, true);
// THUNDERING ENCHANTMENT
EnchantsList.addEnchant(Registry.ITEM.getId(ItemRegistry.ITEMS.get("hammer_stormlander")), new Identifier("mcdw:thundering"), 1, true);
// WEAKENING ENCHANTMENT
EnchantsList.addEnchant(Registry.ITEM.getId(ItemRegistry.ITEMS.get("sword_nameless_blade")), new Identifier("mcdw:weakening"), 1, true);
}
}
Aggregations