Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* */ package com.com.tools;
- /* */
- /* */
- /* */
- /* */
- /* */ public enum ModItemTeir implements IItemTier {
- /* 10 */ CUSTOMNAMEHERE(1, 131, 4.0F, 3.0F, 5, () -> Ingredient.fromItems(RegistryHandler.YourItem.get()));
- /* */
- /* */ private final Supplier<Ingredient> repairmaterial;
- /* */
- /* */ private final int enchantability;
- /* */
- /* */ private final float attackDamage;
- /* */
- /* */ private final float efficiency;
- /* */
- /* */ private final int maxUses;
- /* */
- /* */ private final int harvestLevel;
- /* */
- /* */ ModItemTeir(int harvestLevel, int maxUses, float efficiency, float attackDamage, int enchantability, Supplier<Ingredient> repairmaterial) {
- /* 25 */ this.harvestLevel = harvestLevel;
- /* 26 */ this.maxUses = maxUses;
- /* 27 */ this.efficiency = efficiency;
- /* 28 */ this.attackDamage = attackDamage;
- /* 29 */ this.enchantability = enchantability;
- /* 30 */ this.repairmaterial = repairmaterial;
- /* */ }
- /* */
- /* */
- /* */
- /* */
- /* */ public int func_200926_a() {
- /* 37 */ return this.maxUses;
- /* */ }
- /* */
- /* */
- /* */ public float func_200928_b() {
- /* 42 */ return this.efficiency;
- /* */ }
- /* */
- /* */
- /* */ public float func_200929_c() {
- /* 47 */ return this.attackDamage;
- /* */ }
- /* */
- /* */
- /* */ public int func_200925_d() {
- /* 52 */ return this.harvestLevel;
- /* */ }
- /* */
- /* */
- /* */ public int func_200927_e() {
- /* 57 */ return this.enchantability;
- /* */ }
- /* */
- /* */
- /* */ public Ingredient func_200924_f() {
- /* 62 */ return this.repairmaterial.get();
- /* */ }
- @Override
- public int getMaxUses() {
- return this.maxUses;
- }
- @Override
- public float getEfficiency() {
- return this.efficiency;
- }
- @Override
- public float getAttackDamage() {
- return this.attackDamage;
- }
- @Override
- public int getHarvestLevel() {
- return this.harvestLevel;
- }
- @Override
- public int getEnchantability() {
- return this.enchantability;
- }
- @Override
- public Ingredient getRepairMaterial() {
- return (Ingredient) this.repairmaterial;
- }
- /* */ }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement