Skip to content

Commit

Permalink
Add renderer.
Browse files Browse the repository at this point in the history
Signed-off-by: 秋雨落 <[email protected]>
  • Loading branch information
qyl27 committed Nov 14, 2024
1 parent 1d540e2 commit a690456
Show file tree
Hide file tree
Showing 12 changed files with 193 additions and 17 deletions.
3 changes: 3 additions & 0 deletions src/main/java/org/teacon/powertool/client/ClientEvents.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
import org.teacon.powertool.client.gui.TrashCanWithContainerScreen;
import org.teacon.powertool.client.renders.FenceKnotRenderer;
import org.teacon.powertool.client.renders.TempleRenderer;
import org.teacon.powertool.client.renders.entity.MartingEntityRenderer;
import org.teacon.powertool.client.renders.holo_sign.HolographicSignBlockEntityRenderer;
import org.teacon.powertool.client.renders.ItemDisplayBlockEntityRenderer;
import org.teacon.powertool.client.renders.ItemSupplierBlockEntityRenderer;
Expand Down Expand Up @@ -161,6 +162,8 @@ public static void renderers(EntityRenderersEvent.RegisterRenderers event) {
event.registerBlockEntityRenderer(PowerToolBlocks.LINK_HOLOGRAPHIC_SIGN_BLOCK_ENTITY.get(), LinkHolographicSignBlockEntityRenderer::new);
event.registerBlockEntityRenderer(PowerToolBlocks.RAW_JSON_HOLOGRAPHIC_SIGN_BLOCK_ENTITY.get(), RawJsonHolographicSignBlockEntityRenderer::new);
event.registerBlockEntityRenderer(PowerToolBlocks.TEMPLE_BLOCK_ENTITY.get(), TempleRenderer::new);

event.registerEntityRenderer(PowerToolEntities.MARTING.get(), MartingEntityRenderer::new);
}
@SubscribeEvent
public static void on(RegisterGuiLayersEvent event) {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
package org.teacon.powertool.client.renders.entity;

import com.mojang.blaze3d.vertex.PoseStack;
import net.minecraft.client.renderer.MultiBufferSource;
import net.minecraft.client.renderer.entity.EntityRenderer;
import net.minecraft.client.renderer.entity.EntityRendererProvider;
import net.minecraft.client.renderer.texture.OverlayTexture;
import net.minecraft.resources.ResourceLocation;
import net.minecraft.util.FastColor;
import org.jetbrains.annotations.NotNull;
import org.teacon.powertool.client.renders.entity.model.MartingEntityModel;
import org.teacon.powertool.entity.MartingEntity;

public class MartingEntityRenderer extends EntityRenderer<MartingEntity> {
private MartingEntityModel<MartingEntity> model;

public MartingEntityRenderer(EntityRendererProvider.Context context) {
super(context);
this.model = new MartingEntityModel<>(context.bakeLayer(MartingEntityModel.LAYER));
}

@Override
public @NotNull ResourceLocation getTextureLocation(@NotNull MartingEntity entity) {
return entity.getVariant().getTexture();
}

@Override
public void render(MartingEntity entity, float entityYaw, float partialTick, PoseStack poseStack, MultiBufferSource bufferSource, int packedLight) {
super.render(entity, entityYaw, partialTick, poseStack, bufferSource, packedLight);

var buffer = bufferSource.getBuffer(model.renderType(getTextureLocation(entity)));
model.renderToBuffer(poseStack, buffer, packedLight, OverlayTexture.NO_OVERLAY, FastColor.ARGB32.color(255,255,255,255));
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,129 @@
package org.teacon.powertool.client.renders.entity.model;

import com.mojang.blaze3d.vertex.PoseStack;
import com.mojang.blaze3d.vertex.VertexConsumer;
import net.minecraft.client.model.EntityModel;
import net.minecraft.client.model.geom.ModelLayerLocation;
import net.minecraft.client.model.geom.ModelPart;
import net.minecraft.client.model.geom.PartPose;
import net.minecraft.client.model.geom.builders.*;
import net.minecraft.resources.ResourceLocation;
import org.jetbrains.annotations.NotNull;
import org.teacon.powertool.PowerTool;
import org.teacon.powertool.entity.MartingEntity;

public class MartingEntityModel<T extends MartingEntity> extends EntityModel<T> {
public static final ModelLayerLocation LAYER = new ModelLayerLocation(ResourceLocation.fromNamespaceAndPath(PowerTool.MODID, "marting"), "main");

private final ModelPart kart;
private final ModelPart seat;
private final ModelPart steering;
private final ModelPart main_frame;
private final ModelPart right_arm;
private final ModelPart left_arm;
private final ModelPart front_wheels;
private final ModelPart wheel;
private final ModelPart wheel2;
private final ModelPart rear_wheels;
private final ModelPart wheel3;
private final ModelPart wheel4;

public MartingEntityModel(ModelPart root) {
this.kart = root.getChild("kart");
this.seat = this.kart.getChild("seat");
this.steering = this.kart.getChild("steering");
this.main_frame = this.kart.getChild("main_frame");
this.right_arm = this.kart.getChild("right_arm");
this.left_arm = this.kart.getChild("left_arm");
this.front_wheels = this.kart.getChild("front_wheels");
this.wheel = this.front_wheels.getChild("wheel");
this.wheel2 = this.front_wheels.getChild("wheel2");
this.rear_wheels = this.kart.getChild("rear_wheels");
this.wheel3 = this.rear_wheels.getChild("wheel3");
this.wheel4 = this.rear_wheels.getChild("wheel4");
}

public static LayerDefinition createBodyLayer() {
MeshDefinition meshdefinition = new MeshDefinition();
PartDefinition partdefinition = meshdefinition.getRoot();

PartDefinition kart = partdefinition.addOrReplaceChild("kart", CubeListBuilder.create(), PartPose.offset(0.0F, 24.0F, 0.0F));

PartDefinition seat = kart.addOrReplaceChild("seat", CubeListBuilder.create().texOffs(0, 33).addBox(-5.0F, -5.0F, -2.0F, 10.0F, 2.0F, 9.0F, new CubeDeformation(0.0F)), PartPose.offset(0.0F, 0.0F, 1.0F));

PartDefinition cube_r1 = seat.addOrReplaceChild("cube_r1", CubeListBuilder.create().texOffs(0, 0).addBox(-5.0F, -11.0F, -2.0F, 10.0F, 11.0F, 2.0F, new CubeDeformation(0.0F)), PartPose.offsetAndRotation(0.0F, -3.0F, 7.0F, -0.2618F, 0.0F, 0.0F));

PartDefinition steering = kart.addOrReplaceChild("steering", CubeListBuilder.create().texOffs(37, 7).addBox(-6.0F, 0.0F, -3.0F, 12.0F, 0.0F, 6.0F, new CubeDeformation(0.0F))
.texOffs(0, 22).addBox(-2.0F, -1.0F, -1.0F, 4.0F, 2.0F, 2.0F, new CubeDeformation(0.0F)), PartPose.offsetAndRotation(0.0F, -11.9497F, -6.2218F, -0.7854F, 0.0F, 0.0F));

PartDefinition main_frame = kart.addOrReplaceChild("main_frame", CubeListBuilder.create().texOffs(0, 0).addBox(-3.5F, -0.2929F, -6.0F, 8.0F, 2.0F, 27.0F, new CubeDeformation(0.0F))
.texOffs(29, 33).addBox(-7.5F, -0.2929F, 8.0F, 16.0F, 1.0F, 5.0F, new CubeDeformation(0.0F))
.texOffs(43, 0).addBox(-6.5F, -1.2929F, -9.0F, 14.0F, 3.0F, 4.0F, new CubeDeformation(0.0F))
.texOffs(38, 39).addBox(-7.5F, -1.2929F, 21.0F, 16.0F, 3.0F, 3.0F, new CubeDeformation(0.0F)), PartPose.offset(-0.5F, -2.7071F, -8.0F));

PartDefinition cube_r2 = main_frame.addOrReplaceChild("cube_r2", CubeListBuilder.create().texOffs(0, 44).addBox(-3.0F, -8.0F, 0.0F, 6.0F, 12.0F, 4.0F, new CubeDeformation(0.0F)), PartPose.offsetAndRotation(0.5F, -4.2929F, -6.0F, -0.7854F, 0.0F, 0.0F));

PartDefinition cube_r3 = main_frame.addOrReplaceChild("cube_r3", CubeListBuilder.create().texOffs(0, 13).addBox(-4.0F, -3.0F, -1.0F, 8.0F, 6.0F, 3.0F, new CubeDeformation(0.0F)), PartPose.offsetAndRotation(0.5F, -1.2929F, 18.0F, 0.7854F, 0.0F, 0.0F));

PartDefinition cube_r4 = main_frame.addOrReplaceChild("cube_r4", CubeListBuilder.create().texOffs(31, 59).addBox(0.0F, -1.0F, -3.0F, 4.0F, 3.0F, 3.0F, new CubeDeformation(0.0F)), PartPose.offsetAndRotation(8.5F, -0.0429F, 24.0F, 0.0F, 0.3927F, 0.0F));

PartDefinition cube_r5 = main_frame.addOrReplaceChild("cube_r5", CubeListBuilder.create().texOffs(17, 58).addBox(-4.0F, -1.0F, -3.0F, 4.0F, 3.0F, 3.0F, new CubeDeformation(0.0F)), PartPose.offsetAndRotation(-7.5F, -0.0429F, 24.0F, 0.0F, -0.3927F, 0.0F));

PartDefinition cube_r6 = main_frame.addOrReplaceChild("cube_r6", CubeListBuilder.create().texOffs(38, 52).addBox(0.0F, -1.0F, 0.0F, 5.0F, 3.0F, 4.0F, new CubeDeformation(0.0F)), PartPose.offsetAndRotation(7.5F, -0.0429F, -9.0F, 0.0F, -0.3927F, 0.0F));

PartDefinition cube_r7 = main_frame.addOrReplaceChild("cube_r7", CubeListBuilder.create().texOffs(52, 48).addBox(-5.0F, -1.0F, 0.0F, 5.0F, 3.0F, 4.0F, new CubeDeformation(0.0F)), PartPose.offsetAndRotation(-6.5F, -0.0429F, -9.0F, 0.0F, 0.3927F, 0.0F));

PartDefinition right_arm = kart.addOrReplaceChild("right_arm", CubeListBuilder.create().texOffs(52, 55).addBox(-1.0F, -5.9497F, 21.7071F, 4.0F, 2.0F, 4.0F, new CubeDeformation(0.0F))
.texOffs(43, 13).addBox(-1.0F, -2.9497F, 9.7071F, 4.0F, 2.0F, 10.0F, new CubeDeformation(0.0F)), PartPose.offset(-9.0F, -2.0503F, -13.7071F));

PartDefinition cube_r8 = right_arm.addOrReplaceChild("cube_r8", CubeListBuilder.create().texOffs(20, 51).addBox(-1.0F, -3.0F, 0.0F, 4.0F, 2.0F, 5.0F, new CubeDeformation(0.0F)), PartPose.offsetAndRotation(0.0F, -0.2929F, 20.2929F, 0.7854F, 0.0F, 0.0F));

PartDefinition left_arm = kart.addOrReplaceChild("left_arm", CubeListBuilder.create().texOffs(52, 55).mirror().addBox(-3.0F, -5.9497F, 21.7071F, 4.0F, 2.0F, 4.0F, new CubeDeformation(0.0F)).mirror(false)
.texOffs(43, 13).mirror().addBox(-3.0F, -2.9497F, 9.7071F, 4.0F, 2.0F, 10.0F, new CubeDeformation(0.0F)).mirror(false), PartPose.offset(9.0F, -2.0503F, -13.7071F));

PartDefinition cube_r9 = left_arm.addOrReplaceChild("cube_r9", CubeListBuilder.create().texOffs(20, 51).mirror().addBox(-3.0F, -3.0F, 0.0F, 4.0F, 2.0F, 5.0F, new CubeDeformation(0.0F)).mirror(false), PartPose.offsetAndRotation(0.0F, -0.2929F, 20.2929F, 0.7854F, 0.0F, 0.0F));

PartDefinition front_wheels = kart.addOrReplaceChild("front_wheels", CubeListBuilder.create(), PartPose.offset(0.0F, -2.5F, -8.0F));

PartDefinition cube_r10 = front_wheels.addOrReplaceChild("cube_r10", CubeListBuilder.create().texOffs(0, 29).addBox(-11.5F, -1.0F, -1.0F, 23.0F, 2.0F, 2.0F, new CubeDeformation(0.0F)), PartPose.offsetAndRotation(0.0F, 0.0F, 0.0F, -0.7854F, 0.0F, 0.0F));

PartDefinition wheel = front_wheels.addOrReplaceChild("wheel", CubeListBuilder.create().texOffs(20, 44).addBox(-2.0F, -1.0355F, -2.5F, 4.0F, 2.0711F, 5.0F, new CubeDeformation(0.0F))
.texOffs(0, 60).addBox(-2.0F, -2.5F, -1.0355F, 4.0F, 5.0F, 2.0711F, new CubeDeformation(0.0F)), PartPose.offset(-9.0F, 0.0F, 0.0F));

PartDefinition octagon_r1 = wheel.addOrReplaceChild("octagon_r1", CubeListBuilder.create().texOffs(61, 13).addBox(-2.0F, -2.5F, -1.0355F, 4.0F, 5.0F, 2.0711F, new CubeDeformation(0.0F))
.texOffs(38, 45).addBox(-2.0F, -1.0355F, -2.5F, 4.0F, 2.0711F, 5.0F, new CubeDeformation(0.0F)), PartPose.offsetAndRotation(0.0F, 0.0F, 0.0F, -0.7854F, 0.0F, 0.0F));

PartDefinition wheel2 = front_wheels.addOrReplaceChild("wheel2", CubeListBuilder.create().texOffs(20, 44).mirror().addBox(-2.0F, -1.0355F, -2.5F, 4.0F, 2.0711F, 5.0F, new CubeDeformation(0.0F)).mirror(false)
.texOffs(0, 60).mirror().addBox(-2.0F, -2.5F, -1.0355F, 4.0F, 5.0F, 2.0711F, new CubeDeformation(0.0F)).mirror(false), PartPose.offset(9.0F, 0.0F, 0.0F));

PartDefinition octagon_r2 = wheel2.addOrReplaceChild("octagon_r2", CubeListBuilder.create().texOffs(61, 13).mirror().addBox(-2.0F, -2.5F, -1.0355F, 4.0F, 5.0F, 2.0711F, new CubeDeformation(0.0F)).mirror(false)
.texOffs(38, 45).mirror().addBox(-2.0F, -1.0355F, -2.5F, 4.0F, 2.0711F, 5.0F, new CubeDeformation(0.0F)).mirror(false), PartPose.offsetAndRotation(0.0F, 0.0F, 0.0F, -0.7854F, 0.0F, 0.0F));

PartDefinition rear_wheels = kart.addOrReplaceChild("rear_wheels", CubeListBuilder.create(), PartPose.offset(0.0F, -2.5F, 9.0F));

PartDefinition cube_r11 = rear_wheels.addOrReplaceChild("cube_r11", CubeListBuilder.create().texOffs(0, 29).addBox(-11.5F, -1.0F, -1.0F, 23.0F, 2.0F, 2.0F, new CubeDeformation(0.0F)), PartPose.offsetAndRotation(0.0F, 0.0F, 0.0F, -0.7854F, 0.0F, 0.0F));

PartDefinition wheel3 = rear_wheels.addOrReplaceChild("wheel3", CubeListBuilder.create().texOffs(20, 44).mirror().addBox(-2.0F, -1.0355F, -2.5F, 4.0F, 2.0711F, 5.0F, new CubeDeformation(0.0F)).mirror(false)
.texOffs(0, 60).mirror().addBox(-2.0F, -2.5F, -1.0355F, 4.0F, 5.0F, 2.0711F, new CubeDeformation(0.0F)).mirror(false), PartPose.offset(9.0F, 0.0F, 0.0F));

PartDefinition octagon_r3 = wheel3.addOrReplaceChild("octagon_r3", CubeListBuilder.create().texOffs(61, 13).mirror().addBox(-2.0F, -2.5F, -1.0355F, 4.0F, 5.0F, 2.0711F, new CubeDeformation(0.0F)).mirror(false)
.texOffs(38, 45).mirror().addBox(-2.0F, -1.0355F, -2.5F, 4.0F, 2.0711F, 5.0F, new CubeDeformation(0.0F)).mirror(false), PartPose.offsetAndRotation(0.0F, 0.0F, 0.0F, -0.7854F, 0.0F, 0.0F));

PartDefinition wheel4 = rear_wheels.addOrReplaceChild("wheel4", CubeListBuilder.create().texOffs(20, 44).addBox(-2.0F, -1.0355F, -2.5F, 4.0F, 2.0711F, 5.0F, new CubeDeformation(0.0F))
.texOffs(0, 60).addBox(-2.0F, -2.5F, -1.0355F, 4.0F, 5.0F, 2.0711F, new CubeDeformation(0.0F)), PartPose.offset(-9.0F, 0.0F, 0.0F));

PartDefinition octagon_r4 = wheel4.addOrReplaceChild("octagon_r4", CubeListBuilder.create().texOffs(61, 13).addBox(-2.0F, -2.5F, -1.0355F, 4.0F, 5.0F, 2.0711F, new CubeDeformation(0.0F))
.texOffs(38, 45).addBox(-2.0F, -1.0355F, -2.5F, 4.0F, 2.0711F, 5.0F, new CubeDeformation(0.0F)), PartPose.offsetAndRotation(0.0F, 0.0F, 0.0F, -0.7854F, 0.0F, 0.0F));

return LayerDefinition.create(meshdefinition, 128, 128);
}

@Override
public void setupAnim(@NotNull MartingEntity entity, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch) {
}

@Override
public void renderToBuffer(@NotNull PoseStack poseStack, @NotNull VertexConsumer buffer, int packedLight, int packedOverlay, int color) {
kart.render(poseStack, buffer, packedLight, packedOverlay, color);
}
}
6 changes: 5 additions & 1 deletion src/main/java/org/teacon/powertool/entity/MartingEntity.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ protected void addAdditionalSaveData(@NotNull CompoundTag compound) {
compound.putString("variant", variant.getName());
}

public Variant getVariant() {
return variant;
}

public enum Variant {
RED("marting_red", PowerToolItems.MARTING_RED),
GREEN("marting_green", PowerToolItems.MARTING_GREEN),
Expand All @@ -50,7 +54,7 @@ public enum Variant {
this.name = name;
this.itemSupplier = itemSupplier;
this.id = ResourceLocation.fromNamespaceAndPath(PowerTool.MODID, name);
this.texture = ResourceLocation.fromNamespaceAndPath(PowerTool.MODID, "entity/" + name);
this.texture = ResourceLocation.fromNamespaceAndPath(PowerTool.MODID, "item/" + name);
}

public static Variant from(String name) {
Expand Down
27 changes: 14 additions & 13 deletions src/main/java/org/teacon/powertool/entity/PowerToolEntities.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,47 +14,48 @@

import java.util.HashSet;
import java.util.Set;
import java.util.function.Supplier;

public class PowerToolEntities {

public static final DeferredRegister<EntityType<?>> ENTITIES = DeferredRegister.create(Registries.ENTITY_TYPE, PowerTool.MODID);
public static final DeferredRegister<EntityDataSerializer<?>> ENTITY_DATA_SERIALIZER = DeferredRegister.create(NeoForgeRegistries.ENTITY_DATA_SERIALIZERS, PowerTool.MODID);

public static final DeferredHolder<EntityType<?>,EntityType<FenceKnotEntity>> FENCE_KNOT = ENTITIES.register("fence_knot", () ->
public static final DeferredHolder<EntityType<?>, EntityType<FenceKnotEntity>> FENCE_KNOT = ENTITIES.register("fence_knot", () ->
EntityType.Builder.<FenceKnotEntity>of(FenceKnotEntity::new, MobCategory.MISC)
.sized(0.375F, 0.5F)
.clientTrackingRange(10)
.updateInterval(Integer.MAX_VALUE)
.build("fence_knot"));
public static final DeferredHolder<EntityType<?>,EntityType<AutoVanishBoat>> AUTO_VANISH_BOAT = ENTITIES.register("auto_vanish_boat",
() -> EntityType.Builder.<AutoVanishBoat>of(AutoVanishBoat::new,MobCategory.MISC)

public static final DeferredHolder<EntityType<?>, EntityType<AutoVanishBoat>> AUTO_VANISH_BOAT = ENTITIES.register("auto_vanish_boat",
() -> EntityType.Builder.<AutoVanishBoat>of(AutoVanishBoat::new, MobCategory.MISC)
.sized(1.375F, 0.5625F)
.eyeHeight(0.5625F)
.clientTrackingRange(10)
.build("auto_vanish_boat"));
public static final DeferredHolder<EntityType<?>,EntityType<AutoVanishMinecart>> AUTO_VANISH_MINECART = ENTITIES.register("auto_vanish_minecart",

public static final DeferredHolder<EntityType<?>, EntityType<AutoVanishMinecart>> AUTO_VANISH_MINECART = ENTITIES.register("auto_vanish_minecart",
() -> EntityType.Builder.<AutoVanishMinecart>of(AutoVanishMinecart::new, MobCategory.MISC)
.sized(0.98F, 0.7F)
.passengerAttachments(0.1875F)
.clientTrackingRange(8)
.build("auto_vanish_minecart"));

public static final DeferredHolder<EntityType<?>,EntityType<AutoVanishMinecart>> MARTING = ENTITIES.register("marting",
() -> EntityType.Builder.<AutoVanishMinecart>of(AutoVanishMinecart::new, MobCategory.MISC)
public static final DeferredHolder<EntityType<?>, EntityType<MartingEntity>> MARTING = ENTITIES.register("marting",
() -> EntityType.Builder.of(MartingEntity::new, MobCategory.MISC)
.sized(0.98F, 0.7F)
.passengerAttachments(0.1875F)
.clientTrackingRange(8)
.build("marting"));

public static final DeferredHolder<EntityDataSerializer<?>,EntityDataSerializer<Set<BlockPos>>> BLOCK_POS_LIST = ENTITY_DATA_SERIALIZER.register(
"block_pos_list",() ->EntityDataSerializer.forValueType(BlockPos.STREAM_CODEC.apply(ByteBufCodecs.collection(HashSet::new))));
public static final DeferredHolder<EntityDataSerializer<?>, EntityDataSerializer<Set<BlockPos>>> BLOCK_POS_LIST = ENTITY_DATA_SERIALIZER.register(
"block_pos_list", () -> EntityDataSerializer.forValueType(BlockPos.STREAM_CODEC.apply(ByteBufCodecs.collection(HashSet::new))));

public static final DeferredHolder<EntityDataSerializer<?>,EntityDataSerializer<FenceKnotEntity.Type>> FENCE_KNOT_TYPE = ENTITY_DATA_SERIALIZER.register(
"fence_knot_type",() -> EntityDataSerializer.forValueType(FenceKnotEntity.Type.STREAM_CODEC)
public static final DeferredHolder<EntityDataSerializer<?>, EntityDataSerializer<FenceKnotEntity.Type>> FENCE_KNOT_TYPE = ENTITY_DATA_SERIALIZER.register(
"fence_knot_type", () -> EntityDataSerializer.forValueType(FenceKnotEntity.Type.STREAM_CODEC)
);

public static void register(IEventBus bus) {
ENTITIES.register(bus);
ENTITY_DATA_SERIALIZER.register(bus);
Expand Down
5 changes: 5 additions & 0 deletions src/main/resources/assets/powertool/models/item/marting.json
Original file line number Diff line number Diff line change
Expand Up @@ -541,6 +541,11 @@
"translation": [0, 1, 0],
"scale": [0.4, 0.4, 0.4]
},
"gui": {
"rotation": [-150, 45, -180],
"translation": [0, 0, -2],
"scale": [0.4, 0.4, 0.4]
},
"head": {
"rotation": [-165, 0, 0],
"translation": [0, 5, 1]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parent": "powertool:item/marting",
"textures": {
"1": "powertool:entity/marting_blue"
"1": "powertool:item/marting_blue"
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parent": "powertool:item/marting",
"textures": {
"1": "powertool:entity/marting_green"
"1": "powertool:item/marting_green"
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parent": "powertool:item/marting",
"textures": {
"1": "powertool:entity/marting_red"
"1": "powertool:item/marting_red"
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a690456

Please sign in to comment.