Skip to content

Commit

Permalink
I was stupid when I made those resource locations
Browse files Browse the repository at this point in the history
  • Loading branch information
N1nn1 committed May 8, 2024
1 parent ca9b5f3 commit 6ae248d
Show file tree
Hide file tree
Showing 15 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

@Environment(value=EnvType.CLIENT)
public class HerringRenderer extends MobRenderer<Herring, HerringModel<Herring>> {
private static final ResourceLocation HERRING_LOCATION = new ResourceLocation(MOD_ID,"textures/entity/fish/herring.png");
private static final ResourceLocation HERRING_LOCATION = new ResourceLocation(MOD_ID,"textures/entity/herring/herring.png");

public HerringRenderer(EntityRendererProvider.Context context) {
super(context, new HerringModel<>(context.bakeLayer(SpawnEntityModelLayers.HERRING)), 0.2f);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
public class SeahorseRenderer extends MobRenderer<Seahorse, SeahorseModel<Seahorse>> {
private final SeahorseModel<Seahorse> modelA = this.getModel();
private final SeahorseModel<Seahorse> modelB;
private static final ResourceLocation MODEL_A_TEXTURE = new ResourceLocation(MOD_ID,"textures/entity/fish/seahorse_a.png");
private static final ResourceLocation MODEL_B_TEXTURE = new ResourceLocation(MOD_ID,"textures/entity/fish/seahorse_b.png");
private static final ResourceLocation MODEL_A_TEXTURE = new ResourceLocation(MOD_ID,"textures/entity/seahorse/seahorse_a.png");
private static final ResourceLocation MODEL_B_TEXTURE = new ResourceLocation(MOD_ID,"textures/entity/seahorse/seahorse_b.png");

public SeahorseRenderer(EntityRendererProvider.Context context) {
super(context, new SeahorseModel<>(context.bakeLayer(SpawnEntityModelLayers.SEAHORSE_SMALL)), 0.2F);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@

@Environment(value= EnvType.CLIENT)
public class SeahorsePatternLayer extends RenderLayer<Seahorse, SeahorseModel<Seahorse>> {
private static final ResourceLocation RIDGED = new ResourceLocation(MOD_ID, "textures/entity/fish/seahorse_a_pattern_1.png");
private static final ResourceLocation SHARP = new ResourceLocation(MOD_ID, "textures/entity/fish/seahorse_a_pattern_2.png");
private static final ResourceLocation HOODED = new ResourceLocation(MOD_ID, "textures/entity/fish/seahorse_a_pattern_3.png");
private static final ResourceLocation SPOTTED = new ResourceLocation(MOD_ID, "textures/entity/fish/seahorse_a_pattern_4.png");
private static final ResourceLocation BANDED = new ResourceLocation(MOD_ID, "textures/entity/fish/seahorse_b_pattern_1.png");
private static final ResourceLocation WAVY = new ResourceLocation(MOD_ID, "textures/entity/fish/seahorse_b_pattern_2.png");
private static final ResourceLocation RIBBED = new ResourceLocation(MOD_ID, "textures/entity/fish/seahorse_b_pattern_3.png");
private static final ResourceLocation CURLED = new ResourceLocation(MOD_ID, "textures/entity/fish/seahorse_b_pattern_4.png");
private static final ResourceLocation RIDGED = new ResourceLocation(MOD_ID, "textures/entity/seahorse/seahorse_a_pattern_1.png");
private static final ResourceLocation SHARP = new ResourceLocation(MOD_ID, "textures/entity/seahorse/seahorse_a_pattern_2.png");
private static final ResourceLocation HOODED = new ResourceLocation(MOD_ID, "textures/entity/seahorse/seahorse_a_pattern_3.png");
private static final ResourceLocation SPOTTED = new ResourceLocation(MOD_ID, "textures/entity/seahorse/seahorse_a_pattern_4.png");
private static final ResourceLocation BANDED = new ResourceLocation(MOD_ID, "textures/entity/seahorse/seahorse_b_pattern_1.png");
private static final ResourceLocation WAVY = new ResourceLocation(MOD_ID, "textures/entity/seahorse/seahorse_b_pattern_2.png");
private static final ResourceLocation RIBBED = new ResourceLocation(MOD_ID, "textures/entity/seahorse/seahorse_b_pattern_3.png");
private static final ResourceLocation CURLED = new ResourceLocation(MOD_ID, "textures/entity/seahorse/seahorse_b_pattern_4.png");
private final SeahorseModel<Seahorse> modelA;
private final SeahorseModel<Seahorse> modelB;

Expand Down
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 6ae248d

Please sign in to comment.