Skip to content

Commit

Permalink
v1.9 - Polychromatic!
Browse files Browse the repository at this point in the history
  • Loading branch information
DakotaPride committed Jul 12, 2024
1 parent 35884cd commit 7757eca
Show file tree
Hide file tree
Showing 2,883 changed files with 50,591 additions and 1,294 deletions.
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ org.gradle.jvmargs=-Xmx2G
# Mod Info
maven_group = net.dakotapride
archives_base_name = garnished
mod_version = 1.8.8
mod_version = 1.9

minecraft_version = 1.20.1

Expand All @@ -25,7 +25,7 @@ create_version = 0.5.1-f-build.1335+mc1.20.1
# Development QOL
# Create supports all 3 recipe viewers: JEI, REI, and EMI. This decides which is enabled at runtime.
# set to disabled to have none of them.
recipe_viewer = JEI
recipe_viewer = EMI
# JEI - https://www.curseforge.com/minecraft/mc-mods/jei/files/all
jei_version = 15.2.0.27
# REI - https://modrinth.com/mod/rei/versions
Expand Down
120 changes: 120 additions & 0 deletions src/main/java/net/dakotapride/garnished/CreateGarnished.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
import net.dakotapride.garnished.registry.GarnishedRecipeTypes;
import net.minecraft.resources.ResourceLocation;

import net.minecraft.world.level.block.ComposterBlock;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

Expand Down Expand Up @@ -111,6 +113,124 @@ public void onInitialize() {
StrippableBlockRegistry.register(GarnishedBlocks.SEPIA_HYPHAE.get(), GarnishedBlocks.STRIPPED_SEPIA_HYPHAE.get());
StrippableBlockRegistry.register(GarnishedBlocks.NUT_LOG.get(), GarnishedBlocks.STRIPPED_NUT_LOG.get());
StrippableBlockRegistry.register(GarnishedBlocks.NUT_WOOD.get(), GarnishedBlocks.STRIPPED_NUT_WOOD.get());


ComposterBlock.COMPOSTABLES.put(GarnishedItems.CRACKED_BUHG.get(), 0.10f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.CRACKED_CASHEW.get(), 0.10f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.CRACKED_WALNUT.get(), 0.10f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.CRACKED_ALMOND.get(), 0.10f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.CRACKED_PISTACHIO.get(), 0.10f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.CRACKED_PECAN.get(), 0.10f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.CRACKED_MACADAMIA.get(), 0.10f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.CRACKED_HAZELNUT.get(), 0.10f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.CRACKED_CHESTNUT.get(), 0.10f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.UNGARNISHED_BUHG.get(), 0.15f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.UNGARNISHED_CASHEW.get(), 0.15f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.UNGARNISHED_WALNUT.get(), 0.15f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.UNGARNISHED_ALMOND.get(), 0.15f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.UNGARNISHED_PISTACHIO.get(), 0.15f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.UNGARNISHED_PECAN.get(), 0.15f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.UNGARNISHED_MACADAMIA.get(), 0.15f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.UNGARNISHED_HAZELNUT.get(), 0.15f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.UNGARNISHED_CHESTNUT.get(), 0.15f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.BUHG.get(), 0.20f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.CASHEW.get(), 0.20f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.WALNUT.get(), 0.20f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.ALMOND.get(), 0.20f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.PISTACHIO.get(), 0.20f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.PECAN.get(), 0.20f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.MACADAMIA.get(), 0.20f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.HAZELNUT.get(), 0.20f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.CHESTNUT.get(), 0.20f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.CHOCOLATE_GLAZED_BUHG.get(), 0.25f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.CHOCOLATE_GLAZED_CASHEW.get(), 0.25f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.CHOCOLATE_GLAZED_WALNUT.get(), 0.25f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.CHOCOLATE_GLAZED_ALMOND.get(), 0.25f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.CHOCOLATE_GLAZED_PISTACHIO.get(), 0.25f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.CHOCOLATE_GLAZED_PECAN.get(), 0.25f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.CHOCOLATE_GLAZED_MACADAMIA.get(), 0.25f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.CHOCOLATE_GLAZED_HAZELNUT.get(), 0.25f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.CHOCOLATE_GLAZED_CHESTNUT.get(), 0.25f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.SWEETENED_BUHG.get(), 0.25f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.SWEETENED_CASHEW.get(), 0.25f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.SWEETENED_WALNUT.get(), 0.25f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.SWEETENED_ALMOND.get(), 0.25f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.SWEETENED_PISTACHIO.get(), 0.25f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.SWEETENED_PECAN.get(), 0.25f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.SWEETENED_MACADAMIA.get(), 0.25f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.SWEETENED_HAZELNUT.get(), 0.25f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.SWEETENED_CHESTNUT.get(), 0.25f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.HONEYED_BUHG.get(), 0.25f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.HONEYED_CASHEW.get(), 0.25f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.HONEYED_WALNUT.get(), 0.25f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.HONEYED_ALMOND.get(), 0.25f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.HONEYED_PISTACHIO.get(), 0.25f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.HONEYED_PECAN.get(), 0.25f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.HONEYED_MACADAMIA.get(), 0.25f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.HONEYED_HAZELNUT.get(), 0.25f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.HONEYED_CHESTNUT.get(), 0.25f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.CINDER_FLOUR_BUHG.get(), 0.30f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.CINDER_FLOUR_CASHEW.get(), 0.30f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.CINDER_FLOUR_WALNUT.get(), 0.30f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.CINDER_FLOUR_ALMOND.get(), 0.30f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.CINDER_FLOUR_PISTACHIO.get(), 0.30f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.CINDER_FLOUR_PECAN.get(), 0.30f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.CINDER_FLOUR_MACADAMIA.get(), 0.30f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.CINDER_FLOUR_HAZELNUT.get(), 0.30f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.CINDER_FLOUR_CHESTNUT.get(), 0.30f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.MELTED_CINDER_FLOUR_BUHG.get(), 0.40f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.MELTED_CINDER_FLOUR_CASHEW.get(), 0.40f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.MELTED_CINDER_FLOUR_WALNUT.get(), 0.40f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.MELTED_CINDER_FLOUR_ALMOND.get(), 0.40f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.MELTED_CINDER_FLOUR_PISTACHIO.get(), 0.40f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.MELTED_CINDER_FLOUR_PECAN.get(), 0.40f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.MELTED_CINDER_FLOUR_MACADAMIA.get(), 0.40f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.MELTED_CINDER_FLOUR_HAZELNUT.get(), 0.40f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.MELTED_CINDER_FLOUR_CHESTNUT.get(), 0.40f);
ComposterBlock.COMPOSTABLES.put(GarnishedBlocks.NUT_LEAVES.asItem(), 0.35f);
ComposterBlock.COMPOSTABLES.put(GarnishedBlocks.BUHG_LEAVES.asItem(), 0.35f);
ComposterBlock.COMPOSTABLES.put(GarnishedBlocks.CASHEW_LEAVES.asItem(), 0.35f);
ComposterBlock.COMPOSTABLES.put(GarnishedBlocks.WALNUT_LEAVES.asItem(), 0.35f);
ComposterBlock.COMPOSTABLES.put(GarnishedBlocks.ALMOND_LEAVES.asItem(), 0.35f);
ComposterBlock.COMPOSTABLES.put(GarnishedBlocks.PISTACHIO_LEAVES.asItem(), 0.35f);
ComposterBlock.COMPOSTABLES.put(GarnishedBlocks.PECAN_LEAVES.asItem(), 0.35f);
ComposterBlock.COMPOSTABLES.put(GarnishedBlocks.MACADAMIA_LEAVES.asItem(), 0.35f);
ComposterBlock.COMPOSTABLES.put(GarnishedBlocks.HAZELNUT_LEAVES.asItem(), 0.35f);
ComposterBlock.COMPOSTABLES.put(GarnishedBlocks.CHESTNUT_LEAVES.asItem(), 0.35f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.PECAN_PIE_SLICE.get(), 0.25f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.PECAN_PIE.get(), 1.0f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.ALMOND_CHEESE.get(), 0.20f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.SALAD.get(), 0.75f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.CRUSHED_CRIMSON_FUNGUS.get(), 0.35f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.CRUSHED_WARPED_FUNGUS.get(), 0.35f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.CRUSHED_SEPIA_FUNGUS.get(), 0.35f);
ComposterBlock.COMPOSTABLES.put(GarnishedBlocks.SEPIA_FUNGUS.asItem(), 0.65f);
ComposterBlock.COMPOSTABLES.put(Items.CHORUS_FRUIT, 0.45f);
ComposterBlock.COMPOSTABLES.put(Items.CHORUS_FLOWER, 0.65f);
ComposterBlock.COMPOSTABLES.put(Items.CHORUS_PLANT, 0.65f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.HOLLOWED_CHORUS_FRUIT.get(), 0.35f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.CHORUS_TUFT.get(), 0.10f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.MULCH.get(), 0.25f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.WHEAT_GRAZE.get(), 0.65f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.DRIED_DULSE_KELP.get(), 0.30f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.DRIED_VERMILION_KELP.get(), 0.30f);
ComposterBlock.COMPOSTABLES.put(GarnishedBlocks.DULSE_KELP.asItem(), 0.30f);
ComposterBlock.COMPOSTABLES.put(GarnishedBlocks.VERMILION_KELP.asItem(), 0.30f);
ComposterBlock.COMPOSTABLES.put(GarnishedBlocks.DRIED_DULSE_KELP_BLOCK.asItem(), 0.50f);
ComposterBlock.COMPOSTABLES.put(GarnishedBlocks.DRIED_VERMILION_KELP_BLOCK.asItem(), 0.50f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.PRICKLY_PEAR.get(), 0.45f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.BAMBOO_CLOD.get(), 0.45f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.BOK_CHOY.get(), 0.65f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.BOK_CHOY_SEEDS.get(), 0.30f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.PANSOPHICAL_PETAL.get(), 0.45f);
ComposterBlock.COMPOSTABLES.put(GarnishedItems.INCANDESCENT_PETAL.get(), 0.45f);
ComposterBlock.COMPOSTABLES.put(GarnishedBlocks.PANSOPHICAL_DAISY.asItem(), 0.65f);
ComposterBlock.COMPOSTABLES.put(GarnishedBlocks.INCANDESCENT_LILY.asItem(), 0.65f);
ComposterBlock.COMPOSTABLES.put(GarnishedBlocks.SORROWFUL_LICHEN.asItem(), 0.65f);
ComposterBlock.COMPOSTABLES.put(GarnishedBlocks.SOUL_ROOTS.asItem(), 0.65f);
ComposterBlock.COMPOSTABLES.put(GarnishedBlocks.AUREATE_SHRUB.asItem(), 0.65f);
ComposterBlock.COMPOSTABLES.put(GarnishedBlocks.SMALL_CHORUS_PLANT.asItem(), 0.65f);
ComposterBlock.COMPOSTABLES.put(GarnishedBlocks.BARREN_ROOTS.asItem(), 0.65f);
}

public static CreateRegistrate registrate() {
Expand Down
126 changes: 123 additions & 3 deletions src/main/java/net/dakotapride/garnished/CreateGarnishedClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -142,10 +142,30 @@ public void onInitializeClient() {
GarnishedFluids.YELLOW_MASTIC_RESIN.get().getFlowing(), FluidRenderHandlerRegistry.INSTANCE.get(GarnishedFluids.YELLOW_MASTIC_RESIN.get()));
FluidRenderHandlerRegistry.INSTANCE.register(GarnishedFluids.GREEN_MASTIC_RESIN.get().getSource(),
GarnishedFluids.GREEN_MASTIC_RESIN.get().getFlowing(), FluidRenderHandlerRegistry.INSTANCE.get(GarnishedFluids.GREEN_MASTIC_RESIN.get()));
FluidRenderHandlerRegistry.INSTANCE.register(GarnishedFluids.LIME_MASTIC_RESIN.get().getSource(),
GarnishedFluids.LIME_MASTIC_RESIN.get().getFlowing(), FluidRenderHandlerRegistry.INSTANCE.get(GarnishedFluids.LIME_MASTIC_RESIN.get()));
FluidRenderHandlerRegistry.INSTANCE.register(GarnishedFluids.BLUE_MASTIC_RESIN.get().getSource(),
GarnishedFluids.BLUE_MASTIC_RESIN.get().getFlowing(), FluidRenderHandlerRegistry.INSTANCE.get(GarnishedFluids.BLUE_MASTIC_RESIN.get()));
FluidRenderHandlerRegistry.INSTANCE.register(GarnishedFluids.LIGHT_BLUE_MASTIC_RESIN.get().getSource(),
GarnishedFluids.LIGHT_BLUE_MASTIC_RESIN.get().getFlowing(), FluidRenderHandlerRegistry.INSTANCE.get(GarnishedFluids.LIGHT_BLUE_MASTIC_RESIN.get()));
FluidRenderHandlerRegistry.INSTANCE.register(GarnishedFluids.CYAN_MASTIC_RESIN.get().getSource(),
GarnishedFluids.CYAN_MASTIC_RESIN.get().getFlowing(), FluidRenderHandlerRegistry.INSTANCE.get(GarnishedFluids.CYAN_MASTIC_RESIN.get()));
FluidRenderHandlerRegistry.INSTANCE.register(GarnishedFluids.PURPLE_MASTIC_RESIN.get().getSource(),
GarnishedFluids.PURPLE_MASTIC_RESIN.get().getFlowing(), FluidRenderHandlerRegistry.INSTANCE.get(GarnishedFluids.PURPLE_MASTIC_RESIN.get()));
FluidRenderHandlerRegistry.INSTANCE.register(GarnishedFluids.MAGENTA_MASTIC_RESIN.get().getSource(),
GarnishedFluids.MAGENTA_MASTIC_RESIN.get().getFlowing(), FluidRenderHandlerRegistry.INSTANCE.get(GarnishedFluids.MAGENTA_MASTIC_RESIN.get()));
FluidRenderHandlerRegistry.INSTANCE.register(GarnishedFluids.PINK_MASTIC_RESIN.get().getSource(),
GarnishedFluids.PINK_MASTIC_RESIN.get().getFlowing(), FluidRenderHandlerRegistry.INSTANCE.get(GarnishedFluids.PINK_MASTIC_RESIN.get()));
FluidRenderHandlerRegistry.INSTANCE.register(GarnishedFluids.BLACK_MASTIC_RESIN.get().getSource(),
GarnishedFluids.BLACK_MASTIC_RESIN.get().getFlowing(), FluidRenderHandlerRegistry.INSTANCE.get(GarnishedFluids.BLACK_MASTIC_RESIN.get()));
FluidRenderHandlerRegistry.INSTANCE.register(GarnishedFluids.GRAY_MASTIC_RESIN.get().getSource(),
GarnishedFluids.GRAY_MASTIC_RESIN.get().getFlowing(), FluidRenderHandlerRegistry.INSTANCE.get(GarnishedFluids.GRAY_MASTIC_RESIN.get()));
FluidRenderHandlerRegistry.INSTANCE.register(GarnishedFluids.LIGHT_GRAY_MASTIC_RESIN.get().getSource(),
GarnishedFluids.LIGHT_GRAY_MASTIC_RESIN.get().getFlowing(), FluidRenderHandlerRegistry.INSTANCE.get(GarnishedFluids.LIGHT_GRAY_MASTIC_RESIN.get()));
FluidRenderHandlerRegistry.INSTANCE.register(GarnishedFluids.WHITE_MASTIC_RESIN.get().getSource(),
GarnishedFluids.WHITE_MASTIC_RESIN.get().getFlowing(), FluidRenderHandlerRegistry.INSTANCE.get(GarnishedFluids.WHITE_MASTIC_RESIN.get()));
FluidRenderHandlerRegistry.INSTANCE.register(GarnishedFluids.BROWN_MASTIC_RESIN.get().getSource(),
GarnishedFluids.BROWN_MASTIC_RESIN.get().getFlowing(), FluidRenderHandlerRegistry.INSTANCE.get(GarnishedFluids.BROWN_MASTIC_RESIN.get()));
FluidRenderHandlerRegistry.INSTANCE.register(GarnishedFluids.DRAGON_BREATH.get().getSource(),
GarnishedFluids.DRAGON_BREATH.get().getFlowing(), FluidRenderHandlerRegistry.INSTANCE.get(GarnishedFluids.DRAGON_BREATH.get()));
FluidRenderHandlerRegistry.INSTANCE.register(GarnishedFluids.SWEET_TEA.get().getSource(),
Expand Down Expand Up @@ -223,14 +243,54 @@ public static boolean getGarnishedFogDensity(FogRenderer.FogMode mode, FogType t
fogData.scaleFarPlaneDistance(1f / 8f * AllConfigs.client().honeyTransparencyMultiplier.getF());
return true;
}
if (GarnishedFluids.LIME_MASTIC_RESIN.get().isSame(fluid)) {
fogData.scaleFarPlaneDistance(1f / 8f * AllConfigs.client().honeyTransparencyMultiplier.getF());
return true;
}
if (GarnishedFluids.BLUE_MASTIC_RESIN.get().isSame(fluid)) {
fogData.scaleFarPlaneDistance(1f / 8f * AllConfigs.client().honeyTransparencyMultiplier.getF());
return true;
}
if (GarnishedFluids.LIGHT_BLUE_MASTIC_RESIN.get().isSame(fluid)) {
fogData.scaleFarPlaneDistance(1f / 8f * AllConfigs.client().honeyTransparencyMultiplier.getF());
return true;
}
if (GarnishedFluids.CYAN_MASTIC_RESIN.get().isSame(fluid)) {
fogData.scaleFarPlaneDistance(1f / 8f * AllConfigs.client().honeyTransparencyMultiplier.getF());
return true;
}
if (GarnishedFluids.PURPLE_MASTIC_RESIN.get().isSame(fluid)) {
fogData.scaleFarPlaneDistance(1f / 8f * AllConfigs.client().honeyTransparencyMultiplier.getF());
return true;
}
if (GarnishedFluids.MAGENTA_MASTIC_RESIN.get().isSame(fluid)) {
fogData.scaleFarPlaneDistance(1f / 8f * AllConfigs.client().honeyTransparencyMultiplier.getF());
return true;
}
if (GarnishedFluids.PINK_MASTIC_RESIN.get().isSame(fluid)) {
fogData.scaleFarPlaneDistance(1f / 8f * AllConfigs.client().honeyTransparencyMultiplier.getF());
return true;
}
if (GarnishedFluids.BLACK_MASTIC_RESIN.get().isSame(fluid)) {
fogData.scaleFarPlaneDistance(1f / 8f * AllConfigs.client().honeyTransparencyMultiplier.getF());
return true;
}
if (GarnishedFluids.GRAY_MASTIC_RESIN.get().isSame(fluid)) {
fogData.scaleFarPlaneDistance(1f / 8f * AllConfigs.client().honeyTransparencyMultiplier.getF());
return true;
}
if (GarnishedFluids.LIGHT_GRAY_MASTIC_RESIN.get().isSame(fluid)) {
fogData.scaleFarPlaneDistance(1f / 8f * AllConfigs.client().honeyTransparencyMultiplier.getF());
return true;
}
if (GarnishedFluids.WHITE_MASTIC_RESIN.get().isSame(fluid)) {
fogData.scaleFarPlaneDistance(1f / 8f * AllConfigs.client().honeyTransparencyMultiplier.getF());
return true;
}
if (GarnishedFluids.BROWN_MASTIC_RESIN.get().isSame(fluid)) {
fogData.scaleFarPlaneDistance(1f / 8f * AllConfigs.client().honeyTransparencyMultiplier.getF());
return true;
}
if (GarnishedFluids.DRAGON_BREATH.get().isSame(fluid)) {
fogData.scaleFarPlaneDistance(1f / 8f * AllConfigs.client().honeyTransparencyMultiplier.getF());
return true;
Expand Down Expand Up @@ -310,10 +370,28 @@ public static void getGarnishedFogColour(FogEvents.ColorData event, float partia
event.setBlue(41 / 255f);
return;
}
if (GarnishedFluids.LIME_MASTIC_RESIN.get().isSame(fluid)) {
event.setRed(55 / 255f);
event.setGreen(198 / 255f);
event.setBlue(70 / 255f);
return;
}
if (GarnishedFluids.BLUE_MASTIC_RESIN.get().isSame(fluid)) {
event.setRed(57 / 255f);
event.setGreen(122 / 255f);
event.setBlue(126 / 255f);
event.setRed(38 / 255f);
event.setGreen(91 / 255f);
event.setBlue(127 / 255f);
return;
}
if (GarnishedFluids.LIGHT_BLUE_MASTIC_RESIN.get().isSame(fluid)) {
event.setRed(60 / 255f);
event.setGreen(137 / 255f);
event.setBlue(174 / 255f);
return;
}
if (GarnishedFluids.CYAN_MASTIC_RESIN.get().isSame(fluid)) {
event.setRed(62 / 255f);
event.setGreen(138 / 255f);
event.setBlue(124 / 255f);
return;
}
if (GarnishedFluids.PURPLE_MASTIC_RESIN.get().isSame(fluid)) {
Expand All @@ -322,6 +400,48 @@ public static void getGarnishedFogColour(FogEvents.ColorData event, float partia
event.setBlue(153 / 255f);
return;
}
if (GarnishedFluids.MAGENTA_MASTIC_RESIN.get().isSame(fluid)) {
event.setRed(161 / 255f);
event.setGreen(47 / 255f);
event.setBlue(198 / 255f);
return;
}
if (GarnishedFluids.PINK_MASTIC_RESIN.get().isSame(fluid)) {
event.setRed(201 / 255f);
event.setGreen(80 / 255f);
event.setBlue(141 / 255f);
return;
}
if (GarnishedFluids.BLACK_MASTIC_RESIN.get().isSame(fluid)) {
event.setRed(6 / 255f);
event.setGreen(22 / 255f);
event.setBlue(30 / 255f);
return;
}
if (GarnishedFluids.GRAY_MASTIC_RESIN.get().isSame(fluid)) {
event.setRed(45 / 255f);
event.setGreen(51 / 255f);
event.setBlue(61 / 255f);
return;
}
if (GarnishedFluids.LIGHT_GRAY_MASTIC_RESIN.get().isSame(fluid)) {
event.setRed(117 / 255f);
event.setGreen(135 / 255f);
event.setBlue(163 / 255f);
return;
}
if (GarnishedFluids.WHITE_MASTIC_RESIN.get().isSame(fluid)) {
event.setRed(192 / 255f);
event.setGreen(196 / 255f);
event.setBlue(224 / 255f);
return;
}
if (GarnishedFluids.BROWN_MASTIC_RESIN.get().isSame(fluid)) {
event.setRed(97 / 255f);
event.setGreen(67 / 255f);
event.setBlue(50 / 255f);
return;
}
if (GarnishedFluids.DRAGON_BREATH.get().isSame(fluid)) {
event.setRed(197 / 255f);
event.setGreen(72 / 255f);
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package net.dakotapride.garnished.block;

import net.dakotapride.garnished.registry.GarnishedBlocks;
import net.minecraft.world.level.block.StairBlock;

public class ZultaniteStairsBlock extends StairBlock {
public ZultaniteStairsBlock(Properties properties) {
super(GarnishedBlocks.ZULTANITE.getDefaultState(), properties);
}
}
Loading

0 comments on commit 7757eca

Please sign in to comment.