Skip to content

Commit

Permalink
Save work
Browse files Browse the repository at this point in the history
  • Loading branch information
realSquidCoder committed Dec 18, 2021
1 parent 6967772 commit 1dfcd8b
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/generated/resources/.cache/cache
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ e24de9e1fec734c36e4170814c3aea67753dce03 data/squidcoder/loot_tables/blocks/waxe
119f27b37e86c02adf283784bdf37362e86598a1 data/squidcoder/recipes/copper_ingot_from_blasting_raw.json
df4f9f9d9cb1c99c8b043fe2dac7f72a42c4a0cd data/squidcoder/recipes/copper_ingot_from_smelting_ore.json
1488572358c4f218c1d547b997d9596ad09bf5f3 data/squidcoder/recipes/copper_ingot_from_smelting_raw.json
f16abb07232c191864e2695ca13eeb9f3c85dd78 data/squidcoder/recipes/empty_blueprint.json
ac16ae706648292abf35049b0afe8886ea2cd2b7 data/squidcoder/recipes/empty_blueprint.json
af6b4600489a0207ba89d70b2a22c7f7425b4074 data/squidcoder/recipes/gold_ingot_from_blasting_raw.json
ea2151fb457c826a158ed2868202ec2f54b683d0 data/squidcoder/recipes/gold_ingot_from_smelting_raw.json
ec22563614ab63fe57970c3768c457fd01352dcb data/squidcoder/recipes/iron_ingot_from_blasting_raw.json
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"parent": "squidcoder:block/shipwrights_table"
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"item": "minecraft:paper"
},
"o": {
"item": "minecraft:blue_dye"
"item": "minecraft:light_blue_dye"
}
},
"result": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ public void render(MatrixStack matrixStack, int mouseX, int mouseY, float partia
protected void renderBg(MatrixStack matrixStack, float partialTicks, int x, int y) {
RenderSystem.color4f(1f, 1f, 1f, 1f);
this.minecraft.getTextureManager().bind(GUI);
int i = this.leftPos;
int j = this.topPos;
int i = (width - imageWidth) / 2;
int j = (height - imageHeight) / 2;
this.blit(matrixStack, i, j, 0, 0, this.imageWidth, this.imageHeight);


Expand All @@ -40,4 +40,12 @@ protected void renderBg(MatrixStack matrixStack, float partialTicks, int x, int
}
*/
}

@Override
protected void renderLabels(MatrixStack stack, int i, int j) {
int inventoryLabelX = 8;
int inventoryLabelY = this.imageHeight - 94;
this.font.draw(stack, this.inventory.getDisplayName(), (float)inventoryLabelX, (float)inventoryLabelY, 4210752);
super.renderLabels(stack, i, j);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@

public class ModBiomesDatapack {

public static RegistryKey<Biome> LUSH_CAVES_BIOME = registerBiome("amethyst_biome");
public static RegistryKey<Biome> LUSH_CAVES_BIOME = registerBiome("lush_caves_biome");
public static RegistryKey<Biome> TAR_PITS_BIOME = registerBiome("tar_pits_biome");

public static RegistryKey<Biome> registerBiome(String biomeName) {
Registration.BIOMES.register(biomeName, BiomeMaker::theVoidBiome);
Expand All @@ -20,5 +21,6 @@ public static RegistryKey<Biome> registerBiome(String biomeName) {

public static void register() {
BiomeManager.addBiome(BiomeManager.BiomeType.COOL, new BiomeManager.BiomeEntry(LUSH_CAVES_BIOME, 10));
BiomeManager.addBiome(BiomeManager.BiomeType.COOL, new BiomeManager.BiomeEntry(TAR_PITS_BIOME, 10));
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"maxCount": 4
},
{
"type": "squidcoder:tar_slime",
"type": "minecraft:slime",
"weight": 100,
"minCount": 4,
"maxCount": 4
Expand Down

0 comments on commit 1dfcd8b

Please sign in to comment.