修改物品类命名
This commit is contained in:
parent
f253584120
commit
3ceea4481f
37 changed files with 128 additions and 128 deletions
|
@ -2,7 +2,7 @@ package net.mcreator.target.client.layer;
|
||||||
|
|
||||||
import com.mojang.blaze3d.vertex.PoseStack;
|
import com.mojang.blaze3d.vertex.PoseStack;
|
||||||
import com.mojang.blaze3d.vertex.VertexConsumer;
|
import com.mojang.blaze3d.vertex.VertexConsumer;
|
||||||
import net.mcreator.target.item.LightSaberItem;
|
import net.mcreator.target.item.LightSaber;
|
||||||
import net.minecraft.client.renderer.MultiBufferSource;
|
import net.minecraft.client.renderer.MultiBufferSource;
|
||||||
import net.minecraft.client.renderer.RenderType;
|
import net.minecraft.client.renderer.RenderType;
|
||||||
import net.minecraft.client.renderer.texture.OverlayTexture;
|
import net.minecraft.client.renderer.texture.OverlayTexture;
|
||||||
|
@ -11,15 +11,15 @@ import software.bernie.geckolib.cache.object.BakedGeoModel;
|
||||||
import software.bernie.geckolib.renderer.GeoRenderer;
|
import software.bernie.geckolib.renderer.GeoRenderer;
|
||||||
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
||||||
|
|
||||||
public class LightSaberLayer extends GeoRenderLayer<LightSaberItem> {
|
public class LightSaberLayer extends GeoRenderLayer<LightSaber> {
|
||||||
private static final ResourceLocation LAYER = new ResourceLocation("target", "textures/item/lightsaber_e.png");
|
private static final ResourceLocation LAYER = new ResourceLocation("target", "textures/item/lightsaber_e.png");
|
||||||
|
|
||||||
public LightSaberLayer(GeoRenderer<LightSaberItem> entityRenderer) {
|
public LightSaberLayer(GeoRenderer<LightSaber> entityRenderer) {
|
||||||
super(entityRenderer);
|
super(entityRenderer);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void render(PoseStack poseStack, LightSaberItem animatable, BakedGeoModel bakedModel, RenderType renderType, MultiBufferSource bufferSource, VertexConsumer buffer, float partialTick, int packedLight, int packedOverlay) {
|
public void render(PoseStack poseStack, LightSaber animatable, BakedGeoModel bakedModel, RenderType renderType, MultiBufferSource bufferSource, VertexConsumer buffer, float partialTick, int packedLight, int packedOverlay) {
|
||||||
RenderType glowRenderType = RenderType.eyes(LAYER);
|
RenderType glowRenderType = RenderType.eyes(LAYER);
|
||||||
getRenderer().reRender(getDefaultBakedModel(animatable), poseStack, bufferSource, animatable, glowRenderType, bufferSource.getBuffer(glowRenderType), partialTick, packedLight, OverlayTexture.NO_OVERLAY, 1, 1, 1, 1);
|
getRenderer().reRender(getDefaultBakedModel(animatable), poseStack, bufferSource, animatable, glowRenderType, bufferSource.getBuffer(glowRenderType), partialTick, packedLight, OverlayTexture.NO_OVERLAY, 1, 1, 1, 1);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,22 +1,22 @@
|
||||||
package net.mcreator.target.client.model.item;
|
package net.mcreator.target.client.model.item;
|
||||||
|
|
||||||
import net.mcreator.target.item.LightSaberItem;
|
import net.mcreator.target.item.LightSaber;
|
||||||
import net.minecraft.resources.ResourceLocation;
|
import net.minecraft.resources.ResourceLocation;
|
||||||
import software.bernie.geckolib.model.GeoModel;
|
import software.bernie.geckolib.model.GeoModel;
|
||||||
|
|
||||||
public class LightSaberItemModel extends GeoModel<LightSaberItem> {
|
public class LightSaberItemModel extends GeoModel<LightSaber> {
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getAnimationResource(LightSaberItem animatable) {
|
public ResourceLocation getAnimationResource(LightSaber animatable) {
|
||||||
return new ResourceLocation("target", "animations/lightsaber.animation.json");
|
return new ResourceLocation("target", "animations/lightsaber.animation.json");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getModelResource(LightSaberItem animatable) {
|
public ResourceLocation getModelResource(LightSaber animatable) {
|
||||||
return new ResourceLocation("target", "geo/lightsaber.geo.json");
|
return new ResourceLocation("target", "geo/lightsaber.geo.json");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getTextureResource(LightSaberItem animatable) {
|
public ResourceLocation getTextureResource(LightSaber animatable) {
|
||||||
return new ResourceLocation("target", "textures/item/lightsaber.png");
|
return new ResourceLocation("target", "textures/item/lightsaber.png");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,19 +1,19 @@
|
||||||
package net.mcreator.target.client.renderer.item;
|
package net.mcreator.target.client.renderer.item;
|
||||||
|
|
||||||
import net.mcreator.target.item.LightSaberItem;
|
import net.mcreator.target.item.LightSaber;
|
||||||
import net.mcreator.target.client.layer.LightSaberLayer;
|
import net.mcreator.target.client.layer.LightSaberLayer;
|
||||||
import net.mcreator.target.client.model.item.LightSaberItemModel;
|
import net.mcreator.target.client.model.item.LightSaberItemModel;
|
||||||
import net.minecraft.resources.ResourceLocation;
|
import net.minecraft.resources.ResourceLocation;
|
||||||
import software.bernie.geckolib.renderer.GeoItemRenderer;
|
import software.bernie.geckolib.renderer.GeoItemRenderer;
|
||||||
|
|
||||||
public class LightSaberItemRenderer extends GeoItemRenderer<LightSaberItem> {
|
public class LightSaberItemRenderer extends GeoItemRenderer<LightSaber> {
|
||||||
public LightSaberItemRenderer() {
|
public LightSaberItemRenderer() {
|
||||||
super(new LightSaberItemModel());
|
super(new LightSaberItemModel());
|
||||||
this.addRenderLayer(new LightSaberLayer(this));
|
this.addRenderLayer(new LightSaberLayer(this));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getTextureLocation(LightSaberItem instance) {
|
public ResourceLocation getTextureLocation(LightSaber instance) {
|
||||||
return super.getTextureLocation(instance);
|
return super.getTextureLocation(instance);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,7 +2,7 @@ package net.mcreator.target.init;
|
||||||
|
|
||||||
import net.mcreator.target.TargetMod;
|
import net.mcreator.target.TargetMod;
|
||||||
import net.mcreator.target.item.*;
|
import net.mcreator.target.item.*;
|
||||||
import net.mcreator.target.item.common.BuckshotItem;
|
import net.mcreator.target.item.common.Buckshot;
|
||||||
import net.mcreator.target.item.common.ammo.*;
|
import net.mcreator.target.item.common.ammo.*;
|
||||||
import net.mcreator.target.item.common.blueprint.*;
|
import net.mcreator.target.item.common.blueprint.*;
|
||||||
import net.mcreator.target.item.common.material.*;
|
import net.mcreator.target.item.common.material.*;
|
||||||
|
@ -79,21 +79,21 @@ public class TargetModItems {
|
||||||
public static final RegistryObject<Item> TARGET_DEPLOYER = ITEMS.register("target_deployer", TargetDeployer::new);
|
public static final RegistryObject<Item> TARGET_DEPLOYER = ITEMS.register("target_deployer", TargetDeployer::new);
|
||||||
public static final RegistryObject<Item> SANDBAG = block(TargetModBlocks.SANDBAG);
|
public static final RegistryObject<Item> SANDBAG = block(TargetModBlocks.SANDBAG);
|
||||||
public static final RegistryObject<Item> BARBED_WIRE = block(TargetModBlocks.BARBED_WIRE);
|
public static final RegistryObject<Item> BARBED_WIRE = block(TargetModBlocks.BARBED_WIRE);
|
||||||
public static final RegistryObject<Item> CLAYMORE_MINE = ITEMS.register("claymore_mine", ClaymoreMineItem::new);
|
public static final RegistryObject<Item> CLAYMORE_MINE = ITEMS.register("claymore_mine", ClaymoreMine::new);
|
||||||
public static final RegistryObject<Item> JUMPPAD_BLOCK = block(TargetModBlocks.JUMPPAD_BLOCK);
|
public static final RegistryObject<Item> JUMPPAD_BLOCK = block(TargetModBlocks.JUMPPAD_BLOCK);
|
||||||
public static final RegistryObject<Item> LIGHT_SABER = ITEMS.register("light_saber", LightSaberItem::new);
|
public static final RegistryObject<Item> LIGHT_SABER = ITEMS.register("light_saber", LightSaber::new);
|
||||||
public static final RegistryObject<Item> HAMMER = ITEMS.register("hammer", HammerItem::new);
|
public static final RegistryObject<Item> HAMMER = ITEMS.register("hammer", Hammer::new);
|
||||||
public static final RegistryObject<Item> MORTAR_DEPLOYER = ITEMS.register("mortar_deployer", MortarDeployerItem::new);
|
public static final RegistryObject<Item> MORTAR_DEPLOYER = ITEMS.register("mortar_deployer", MortarDeployer::new);
|
||||||
public static final RegistryObject<Item> MORTAR_BARREL = ITEMS.register("mortar_barrel", MortarBarrelItem::new);
|
public static final RegistryObject<Item> MORTAR_BARREL = ITEMS.register("mortar_barrel", MortarBarrel::new);
|
||||||
public static final RegistryObject<Item> MORTAR_BASE_PLATE = ITEMS.register("mortar_base_plate", MortarBasePlateItem::new);
|
public static final RegistryObject<Item> MORTAR_BASE_PLATE = ITEMS.register("mortar_base_plate", MortarBasePlate::new);
|
||||||
public static final RegistryObject<Item> MORTAR_BIPOD = ITEMS.register("mortar_bipod", MortarBipodItem::new);
|
public static final RegistryObject<Item> MORTAR_BIPOD = ITEMS.register("mortar_bipod", MortarBipod::new);
|
||||||
public static final RegistryObject<Item> FUSEE = ITEMS.register("fusee", FuseeItem::new);
|
public static final RegistryObject<Item> FUSEE = ITEMS.register("fusee", Fusee::new);
|
||||||
public static final RegistryObject<Item> SOUL_STEEL_NUGGET = ITEMS.register("soul_steel_nugget", SoulSteelNugget::new);
|
public static final RegistryObject<Item> SOUL_STEEL_NUGGET = ITEMS.register("soul_steel_nugget", SoulSteelNugget::new);
|
||||||
public static final RegistryObject<Item> COPPERPLATE = ITEMS.register("copperplate", CopperplateItem::new);
|
public static final RegistryObject<Item> COPPERPLATE = ITEMS.register("copperplate", Copperplate::new);
|
||||||
public static final RegistryObject<Item> INGOT_STEEL = ITEMS.register("ingot_steel", IngotSteelItem::new);
|
public static final RegistryObject<Item> INGOT_STEEL = ITEMS.register("ingot_steel", IngotSteel::new);
|
||||||
public static final RegistryObject<Item> LEAD_INGOT = ITEMS.register("lead_ingot", LeadIngotItem::new);
|
public static final RegistryObject<Item> LEAD_INGOT = ITEMS.register("lead_ingot", LeadIngot::new);
|
||||||
public static final RegistryObject<Item> TUNGSTEN_INGOT = ITEMS.register("tungsten_ingot", TungstenIngotItem::new);
|
public static final RegistryObject<Item> TUNGSTEN_INGOT = ITEMS.register("tungsten_ingot", TungstenIngot::new);
|
||||||
public static final RegistryObject<Item> CEMENTED_CARBIDE_INGOT = ITEMS.register("cemented_carbide_ingot", CementedCarbideIngotItem::new);
|
public static final RegistryObject<Item> CEMENTED_CARBIDE_INGOT = ITEMS.register("cemented_carbide_ingot", CementedCarbideIngot::new);
|
||||||
public static final RegistryObject<Item> SOUL_STEEL_INGOT = ITEMS.register("soul_steel_ingot", SoulSteelIngot::new);
|
public static final RegistryObject<Item> SOUL_STEEL_INGOT = ITEMS.register("soul_steel_ingot", SoulSteelIngot::new);
|
||||||
public static final RegistryObject<Item> IRON_POWDER = ITEMS.register("iron_powder", IronPowder::new);
|
public static final RegistryObject<Item> IRON_POWDER = ITEMS.register("iron_powder", IronPowder::new);
|
||||||
public static final RegistryObject<Item> TUNGSTEN_POWDER = ITEMS.register("tungsten_powder", TungstenPowder::new);
|
public static final RegistryObject<Item> TUNGSTEN_POWDER = ITEMS.register("tungsten_powder", TungstenPowder::new);
|
||||||
|
@ -104,26 +104,26 @@ public class TargetModItems {
|
||||||
public static final RegistryObject<Item> DEEPSLATE_GALENA_ORE = block(TargetModBlocks.DEEPSLATE_GALENA_ORE);
|
public static final RegistryObject<Item> DEEPSLATE_GALENA_ORE = block(TargetModBlocks.DEEPSLATE_GALENA_ORE);
|
||||||
public static final RegistryObject<Item> SCHEELITE_ORE = block(TargetModBlocks.SCHEELITE_ORE);
|
public static final RegistryObject<Item> SCHEELITE_ORE = block(TargetModBlocks.SCHEELITE_ORE);
|
||||||
public static final RegistryObject<Item> DEEPSLATE_SCHEELITE_ORE = block(TargetModBlocks.DEEPSLATE_SCHEELITE_ORE);
|
public static final RegistryObject<Item> DEEPSLATE_SCHEELITE_ORE = block(TargetModBlocks.DEEPSLATE_SCHEELITE_ORE);
|
||||||
public static final RegistryObject<Item> GALENA = ITEMS.register("galena", GalenaItem::new);
|
public static final RegistryObject<Item> GALENA = ITEMS.register("galena", Galena::new);
|
||||||
public static final RegistryObject<Item> SCHEELITE = ITEMS.register("scheelite", ScheeliteItem::new);
|
public static final RegistryObject<Item> SCHEELITE = ITEMS.register("scheelite", Scheelite::new);
|
||||||
public static final RegistryObject<Item> BUCKSHOT = ITEMS.register("buckshot", BuckshotItem::new);
|
public static final RegistryObject<Item> BUCKSHOT = ITEMS.register("buckshot", Buckshot::new);
|
||||||
|
|
||||||
public static final RegistryObject<Item> IRON_BARREL = ITEMS.register("iron_barrel", IronBarrelItem::new);
|
public static final RegistryObject<Item> IRON_BARREL = ITEMS.register("iron_barrel", IronBarrel::new);
|
||||||
public static final RegistryObject<Item> IRON_ACTION = ITEMS.register("iron_action", IronActionItem::new);
|
public static final RegistryObject<Item> IRON_ACTION = ITEMS.register("iron_action", IronAction::new);
|
||||||
public static final RegistryObject<Item> IRON_TRIGGER = ITEMS.register("iron_trigger", IronTriggerItem::new);
|
public static final RegistryObject<Item> IRON_TRIGGER = ITEMS.register("iron_trigger", IronTrigger::new);
|
||||||
public static final RegistryObject<Item> IRON_SPRING = ITEMS.register("iron_spring", IronSpringItem::new);
|
public static final RegistryObject<Item> IRON_SPRING = ITEMS.register("iron_spring", IronSpring::new);
|
||||||
public static final RegistryObject<Item> STEEL_BARREL = ITEMS.register("steel_barrel", SteelBarrelItem::new);
|
public static final RegistryObject<Item> STEEL_BARREL = ITEMS.register("steel_barrel", SteelBarrel::new);
|
||||||
public static final RegistryObject<Item> STEEL_ACTION = ITEMS.register("steel_action", SteelActionItem::new);
|
public static final RegistryObject<Item> STEEL_ACTION = ITEMS.register("steel_action", SteelAction::new);
|
||||||
public static final RegistryObject<Item> STEEL_TRIGGER = ITEMS.register("steel_trigger", SteelTriggerItem::new);
|
public static final RegistryObject<Item> STEEL_TRIGGER = ITEMS.register("steel_trigger", SteelTrigger::new);
|
||||||
public static final RegistryObject<Item> STEEL_SPRING = ITEMS.register("steel_spring", SteelSpringItem::new);
|
public static final RegistryObject<Item> STEEL_SPRING = ITEMS.register("steel_spring", SteelSpring::new);
|
||||||
public static final RegistryObject<Item> CEMENTED_CARBIDE_BARREL = ITEMS.register("cemented_carbide_barrel", CementedCarbideBarrelItem::new);
|
public static final RegistryObject<Item> CEMENTED_CARBIDE_BARREL = ITEMS.register("cemented_carbide_barrel", CementedCarbideBarrel::new);
|
||||||
public static final RegistryObject<Item> CEMENTED_CARBIDE_ACTION = ITEMS.register("cemented_carbide_action", CementedCarbideActionItem::new);
|
public static final RegistryObject<Item> CEMENTED_CARBIDE_ACTION = ITEMS.register("cemented_carbide_action", CementedCarbideAction::new);
|
||||||
public static final RegistryObject<Item> CEMENTED_CARBIDE_TRIGGER = ITEMS.register("cemented_carbide_trigger", CementedCarbideTriggerItem::new);
|
public static final RegistryObject<Item> CEMENTED_CARBIDE_TRIGGER = ITEMS.register("cemented_carbide_trigger", CementedCarbideTrigger::new);
|
||||||
public static final RegistryObject<Item> CEMENTED_CARBIDE_SPRING = ITEMS.register("cemented_carbide_spring", CementedCarbideSpringItem::new);
|
public static final RegistryObject<Item> CEMENTED_CARBIDE_SPRING = ITEMS.register("cemented_carbide_spring", CementedCarbideSpring::new);
|
||||||
public static final RegistryObject<Item> NETHERITE_BARREL = ITEMS.register("netherite_barrel", NetheriteBarrelItem::new);
|
public static final RegistryObject<Item> NETHERITE_BARREL = ITEMS.register("netherite_barrel", NetheriteBarrel::new);
|
||||||
public static final RegistryObject<Item> NETHERITE_ACTION = ITEMS.register("netherite_action", NetheriteActionItem::new);
|
public static final RegistryObject<Item> NETHERITE_ACTION = ITEMS.register("netherite_action", NetheriteAction::new);
|
||||||
public static final RegistryObject<Item> NETHERITE_TRIGGER = ITEMS.register("netherite_trigger", NetheriteTriggerItem::new);
|
public static final RegistryObject<Item> NETHERITE_TRIGGER = ITEMS.register("netherite_trigger", NetheriteTrigger::new);
|
||||||
public static final RegistryObject<Item> NETHERITE_SPRING = ITEMS.register("netherite_spring", NetheriteSpringItem::new);
|
public static final RegistryObject<Item> NETHERITE_SPRING = ITEMS.register("netherite_spring", NetheriteSpring::new);
|
||||||
|
|
||||||
public static final RegistryObject<Item> COMMON_MATERIAL_PACK = ITEMS.register("common_material_pack", CommonMaterialPack::new);
|
public static final RegistryObject<Item> COMMON_MATERIAL_PACK = ITEMS.register("common_material_pack", CommonMaterialPack::new);
|
||||||
public static final RegistryObject<Item> RARE_MATERIAL_PACK = ITEMS.register("rare_material_pack", RareMaterialPack::new);
|
public static final RegistryObject<Item> RARE_MATERIAL_PACK = ITEMS.register("rare_material_pack", RareMaterialPack::new);
|
||||||
|
|
|
@ -17,8 +17,8 @@ import net.minecraft.world.level.Level;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
public class ClaymoreMineItem extends Item {
|
public class ClaymoreMine extends Item {
|
||||||
public ClaymoreMineItem() {
|
public ClaymoreMine() {
|
||||||
super(new Item.Properties().stacksTo(64).rarity(Rarity.COMMON));
|
super(new Item.Properties().stacksTo(64).rarity(Rarity.COMMON));
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,8 +9,8 @@ import net.minecraft.world.level.Level;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
public class ScheeliteItem extends Item {
|
public class Copperplate extends Item {
|
||||||
public ScheeliteItem() {
|
public Copperplate() {
|
||||||
super(new Item.Properties().stacksTo(64).rarity(Rarity.COMMON));
|
super(new Item.Properties().stacksTo(64).rarity(Rarity.COMMON));
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,8 +9,8 @@ import net.minecraft.world.level.Level;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
public class FuseeItem extends Item {
|
public class Fusee extends Item {
|
||||||
public FuseeItem() {
|
public Fusee() {
|
||||||
super(new Item.Properties().stacksTo(64).rarity(Rarity.COMMON));
|
super(new Item.Properties().stacksTo(64).rarity(Rarity.COMMON));
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,8 +9,8 @@ import net.minecraft.world.level.Level;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
public class GalenaItem extends Item {
|
public class Galena extends Item {
|
||||||
public GalenaItem() {
|
public Galena() {
|
||||||
super(new Item.Properties().stacksTo(64).rarity(Rarity.COMMON));
|
super(new Item.Properties().stacksTo(64).rarity(Rarity.COMMON));
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,8 +7,8 @@ import net.minecraft.world.level.Level;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
public class HammerItem extends SwordItem {
|
public class Hammer extends SwordItem {
|
||||||
public HammerItem() {
|
public Hammer() {
|
||||||
super(new Tier() {
|
super(new Tier() {
|
||||||
public int getUses() {
|
public int getUses() {
|
||||||
return 800;
|
return 800;
|
|
@ -28,12 +28,12 @@ import java.util.List;
|
||||||
import java.util.UUID;
|
import java.util.UUID;
|
||||||
import java.util.function.Consumer;
|
import java.util.function.Consumer;
|
||||||
|
|
||||||
public class LightSaberItem extends SwordItem implements GeoItem, AnimatedItem {
|
public class LightSaber extends SwordItem implements GeoItem, AnimatedItem {
|
||||||
private final AnimatableInstanceCache cache = GeckoLibUtil.createInstanceCache(this);
|
private final AnimatableInstanceCache cache = GeckoLibUtil.createInstanceCache(this);
|
||||||
public String animationProcedure = "empty";
|
public String animationProcedure = "empty";
|
||||||
public static ItemDisplayContext transformType;
|
public static ItemDisplayContext transformType;
|
||||||
|
|
||||||
public LightSaberItem() {
|
public LightSaber() {
|
||||||
super(Tiers.NETHERITE, 10, -1.8f, new Item.Properties().rarity(Rarity.EPIC));
|
super(Tiers.NETHERITE, 10, -1.8f, new Item.Properties().rarity(Rarity.EPIC));
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,8 +9,8 @@ import net.minecraft.world.level.Level;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
public class MortarBarrelItem extends Item {
|
public class MortarBarrel extends Item {
|
||||||
public MortarBarrelItem() {
|
public MortarBarrel() {
|
||||||
super(new Item.Properties().stacksTo(64).fireResistant().rarity(Rarity.COMMON));
|
super(new Item.Properties().stacksTo(64).fireResistant().rarity(Rarity.COMMON));
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,8 +9,8 @@ import net.minecraft.world.level.Level;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
public class MortarBipodItem extends Item {
|
public class MortarBasePlate extends Item {
|
||||||
public MortarBipodItem() {
|
public MortarBasePlate() {
|
||||||
super(new Item.Properties().stacksTo(64).rarity(Rarity.COMMON));
|
super(new Item.Properties().stacksTo(64).rarity(Rarity.COMMON));
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,21 +0,0 @@
|
||||||
package net.mcreator.target.item;
|
|
||||||
|
|
||||||
import net.minecraft.network.chat.Component;
|
|
||||||
import net.minecraft.world.item.Item;
|
|
||||||
import net.minecraft.world.item.ItemStack;
|
|
||||||
import net.minecraft.world.item.Rarity;
|
|
||||||
import net.minecraft.world.item.TooltipFlag;
|
|
||||||
import net.minecraft.world.level.Level;
|
|
||||||
|
|
||||||
import java.util.List;
|
|
||||||
|
|
||||||
public class MortarBasePlateItem extends Item {
|
|
||||||
public MortarBasePlateItem() {
|
|
||||||
super(new Item.Properties().stacksTo(64).rarity(Rarity.COMMON));
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public void appendHoverText(ItemStack itemstack, Level world, List<Component> list, TooltipFlag flag) {
|
|
||||||
super.appendHoverText(itemstack, world, list, flag);
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -9,8 +9,8 @@ import net.minecraft.world.level.Level;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
public class CopperplateItem extends Item {
|
public class MortarBipod extends Item {
|
||||||
public CopperplateItem() {
|
public MortarBipod() {
|
||||||
super(new Item.Properties().stacksTo(64).rarity(Rarity.COMMON));
|
super(new Item.Properties().stacksTo(64).rarity(Rarity.COMMON));
|
||||||
}
|
}
|
||||||
|
|
|
@ -17,8 +17,8 @@ import net.minecraft.world.level.Level;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
public class MortarDeployerItem extends Item {
|
public class MortarDeployer extends Item {
|
||||||
public MortarDeployerItem() {
|
public MortarDeployer() {
|
||||||
super(new Item.Properties().stacksTo(1).rarity(Rarity.RARE));
|
super(new Item.Properties().stacksTo(1).rarity(Rarity.RARE));
|
||||||
}
|
}
|
||||||
|
|
21
src/main/java/net/mcreator/target/item/Scheelite.java
Normal file
21
src/main/java/net/mcreator/target/item/Scheelite.java
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
package net.mcreator.target.item;
|
||||||
|
|
||||||
|
import net.minecraft.network.chat.Component;
|
||||||
|
import net.minecraft.world.item.Item;
|
||||||
|
import net.minecraft.world.item.ItemStack;
|
||||||
|
import net.minecraft.world.item.Rarity;
|
||||||
|
import net.minecraft.world.item.TooltipFlag;
|
||||||
|
import net.minecraft.world.level.Level;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
public class Scheelite extends Item {
|
||||||
|
public Scheelite() {
|
||||||
|
super(new Item.Properties().stacksTo(64).rarity(Rarity.COMMON));
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void appendHoverText(ItemStack itemstack, Level world, List<Component> list, TooltipFlag flag) {
|
||||||
|
super.appendHoverText(itemstack, world, list, flag);
|
||||||
|
}
|
||||||
|
}
|
|
@ -9,8 +9,8 @@ import net.minecraft.world.level.Level;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
public class BuckshotItem extends Item {
|
public class Buckshot extends Item {
|
||||||
public BuckshotItem() {
|
public Buckshot() {
|
||||||
super(new Item.Properties().stacksTo(64).rarity(Rarity.COMMON));
|
super(new Item.Properties().stacksTo(64).rarity(Rarity.COMMON));
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,8 +9,8 @@ import net.minecraft.world.level.Level;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
public class CementedCarbideIngotItem extends Item {
|
public class CementedCarbideIngot extends Item {
|
||||||
public CementedCarbideIngotItem() {
|
public CementedCarbideIngot() {
|
||||||
super(new Item.Properties().stacksTo(64).rarity(Rarity.COMMON));
|
super(new Item.Properties().stacksTo(64).rarity(Rarity.COMMON));
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,8 +9,8 @@ import net.minecraft.world.level.Level;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
public class LeadIngotItem extends Item {
|
public class IngotSteel extends Item {
|
||||||
public LeadIngotItem() {
|
public IngotSteel() {
|
||||||
super(new Item.Properties().stacksTo(64).rarity(Rarity.COMMON));
|
super(new Item.Properties().stacksTo(64).rarity(Rarity.COMMON));
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,8 +9,8 @@ import net.minecraft.world.level.Level;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
public class IngotSteelItem extends Item {
|
public class LeadIngot extends Item {
|
||||||
public IngotSteelItem() {
|
public LeadIngot() {
|
||||||
super(new Item.Properties().stacksTo(64).rarity(Rarity.COMMON));
|
super(new Item.Properties().stacksTo(64).rarity(Rarity.COMMON));
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,8 +9,8 @@ import net.minecraft.world.level.Level;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
public class TungstenIngotItem extends Item {
|
public class TungstenIngot extends Item {
|
||||||
public TungstenIngotItem() {
|
public TungstenIngot() {
|
||||||
super(new Item.Properties().stacksTo(64).rarity(Rarity.COMMON));
|
super(new Item.Properties().stacksTo(64).rarity(Rarity.COMMON));
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,8 +9,8 @@ import net.minecraft.world.level.Level;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
public class CementedCarbideActionItem extends Item {
|
public class CementedCarbideAction extends Item {
|
||||||
public CementedCarbideActionItem() {
|
public CementedCarbideAction() {
|
||||||
super(new Item.Properties().stacksTo(64).rarity(Rarity.EPIC));
|
super(new Item.Properties().stacksTo(64).rarity(Rarity.EPIC));
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,8 +9,8 @@ import net.minecraft.world.level.Level;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
public class CementedCarbideBarrelItem extends Item {
|
public class CementedCarbideBarrel extends Item {
|
||||||
public CementedCarbideBarrelItem() {
|
public CementedCarbideBarrel() {
|
||||||
super(new Item.Properties().stacksTo(64).rarity(Rarity.EPIC));
|
super(new Item.Properties().stacksTo(64).rarity(Rarity.EPIC));
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,8 +9,8 @@ import net.minecraft.world.level.Level;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
public class CementedCarbideSpringItem extends Item {
|
public class CementedCarbideSpring extends Item {
|
||||||
public CementedCarbideSpringItem() {
|
public CementedCarbideSpring() {
|
||||||
super(new Item.Properties().stacksTo(64).rarity(Rarity.EPIC));
|
super(new Item.Properties().stacksTo(64).rarity(Rarity.EPIC));
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,8 +9,8 @@ import net.minecraft.network.chat.Component;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
public class CementedCarbideTriggerItem extends Item {
|
public class CementedCarbideTrigger extends Item {
|
||||||
public CementedCarbideTriggerItem() {
|
public CementedCarbideTrigger() {
|
||||||
super(new Item.Properties().stacksTo(64).rarity(Rarity.EPIC));
|
super(new Item.Properties().stacksTo(64).rarity(Rarity.EPIC));
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,8 +9,8 @@ import net.minecraft.world.level.Level;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
public class IronActionItem extends Item {
|
public class IronAction extends Item {
|
||||||
public IronActionItem() {
|
public IronAction() {
|
||||||
super(new Item.Properties().stacksTo(64).rarity(Rarity.COMMON));
|
super(new Item.Properties().stacksTo(64).rarity(Rarity.COMMON));
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,8 +9,8 @@ import net.minecraft.world.level.Level;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
public class IronBarrelItem extends Item {
|
public class IronBarrel extends Item {
|
||||||
public IronBarrelItem() {
|
public IronBarrel() {
|
||||||
super(new Item.Properties().stacksTo(64).rarity(Rarity.COMMON));
|
super(new Item.Properties().stacksTo(64).rarity(Rarity.COMMON));
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,8 +9,8 @@ import net.minecraft.world.level.Level;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
public class IronSpringItem extends Item {
|
public class IronSpring extends Item {
|
||||||
public IronSpringItem() {
|
public IronSpring() {
|
||||||
super(new Item.Properties().stacksTo(64).rarity(Rarity.COMMON));
|
super(new Item.Properties().stacksTo(64).rarity(Rarity.COMMON));
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,8 +9,8 @@ import net.minecraft.world.level.Level;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
public class IronTriggerItem extends Item {
|
public class IronTrigger extends Item {
|
||||||
public IronTriggerItem() {
|
public IronTrigger() {
|
||||||
super(new Item.Properties().stacksTo(64).rarity(Rarity.COMMON));
|
super(new Item.Properties().stacksTo(64).rarity(Rarity.COMMON));
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,8 +9,8 @@ import net.minecraft.world.level.Level;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
public class NetheriteActionItem extends Item {
|
public class NetheriteAction extends Item {
|
||||||
public NetheriteActionItem() {
|
public NetheriteAction() {
|
||||||
super(new Item.Properties().stacksTo(64).rarity(RarityTool.LEGENDARY));
|
super(new Item.Properties().stacksTo(64).rarity(RarityTool.LEGENDARY));
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,8 +9,8 @@ import net.minecraft.world.level.Level;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
public class NetheriteBarrelItem extends Item {
|
public class NetheriteBarrel extends Item {
|
||||||
public NetheriteBarrelItem() {
|
public NetheriteBarrel() {
|
||||||
super(new Item.Properties().stacksTo(64).rarity(RarityTool.LEGENDARY));
|
super(new Item.Properties().stacksTo(64).rarity(RarityTool.LEGENDARY));
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,8 +9,8 @@ import net.minecraft.world.level.Level;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
public class NetheriteSpringItem extends Item {
|
public class NetheriteSpring extends Item {
|
||||||
public NetheriteSpringItem() {
|
public NetheriteSpring() {
|
||||||
super(new Item.Properties().stacksTo(64).rarity(RarityTool.LEGENDARY));
|
super(new Item.Properties().stacksTo(64).rarity(RarityTool.LEGENDARY));
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,8 +9,8 @@ import net.minecraft.world.level.Level;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
public class NetheriteTriggerItem extends Item {
|
public class NetheriteTrigger extends Item {
|
||||||
public NetheriteTriggerItem() {
|
public NetheriteTrigger() {
|
||||||
super(new Item.Properties().stacksTo(64).rarity(RarityTool.LEGENDARY));
|
super(new Item.Properties().stacksTo(64).rarity(RarityTool.LEGENDARY));
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,8 +9,8 @@ import net.minecraft.world.level.Level;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
public class SteelBarrelItem extends Item {
|
public class SteelAction extends Item {
|
||||||
public SteelBarrelItem() {
|
public SteelAction() {
|
||||||
super(new Item.Properties().stacksTo(64).rarity(Rarity.RARE));
|
super(new Item.Properties().stacksTo(64).rarity(Rarity.RARE));
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,8 +9,8 @@ import net.minecraft.world.level.Level;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
public class SteelSpringItem extends Item {
|
public class SteelBarrel extends Item {
|
||||||
public SteelSpringItem() {
|
public SteelBarrel() {
|
||||||
super(new Item.Properties().stacksTo(64).rarity(Rarity.RARE));
|
super(new Item.Properties().stacksTo(64).rarity(Rarity.RARE));
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,8 +9,8 @@ import net.minecraft.world.level.Level;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
public class SteelActionItem extends Item {
|
public class SteelSpring extends Item {
|
||||||
public SteelActionItem() {
|
public SteelSpring() {
|
||||||
super(new Item.Properties().stacksTo(64).rarity(Rarity.RARE));
|
super(new Item.Properties().stacksTo(64).rarity(Rarity.RARE));
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,8 +9,8 @@ import net.minecraft.world.level.Level;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
public class SteelTriggerItem extends Item {
|
public class SteelTrigger extends Item {
|
||||||
public SteelTriggerItem() {
|
public SteelTrigger() {
|
||||||
super(new Item.Properties().stacksTo(64).rarity(Rarity.UNCOMMON));
|
super(new Item.Properties().stacksTo(64).rarity(Rarity.UNCOMMON));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue