-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Add the juicer, a drinking vessel that can turn mushrooms and fruits into water. - Allow decrafting of stone-like nether blocks - Fix stone-like nether blocks not dropping themselves when isolated - Fix hellforge not heating items - Fix knapping with beneath rocks having missing textures
- Loading branch information
1 parent
57ee292
commit d017d84
Showing
156 changed files
with
2,068 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,8 @@ | ||
# Changes | ||
|
||
- Fix knapping with nether rocks | ||
- Add recipes for nether bricks | ||
- Add loot table to ruined portal | ||
- Rename vanilla basalt to 'basalt columns' | ||
- Fix a crash when it snows in the overworld | ||
- Remove vanilla horse armor from some loot tables | ||
- Reduce frequency of glowstone spikes | ||
- Allow lava aqueducts to emit light | ||
- Make hellforges add more heat at higher internal temperatures (like crucibles) | ||
- Add several types of mushrooms | ||
- Add the juicer, a drinking vessel that can turn mushrooms and fruits into water. | ||
- Allow decrafting of stone-like nether blocks | ||
- Fix stone-like nether blocks not dropping themselves when isolated | ||
- Fix hellforge not heating items | ||
- Fix knapping with beneath rocks having missing textures |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
src/main/java/com/eerussianguy/beneath/client/screen/JuicerScreen.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
package com.eerussianguy.beneath.client.screen; | ||
|
||
import com.eerussianguy.beneath.common.container.JuicerContainer; | ||
import com.eerussianguy.beneath.common.items.JuicerItem; | ||
import net.minecraft.client.gui.GuiGraphics; | ||
import net.minecraft.network.chat.Component; | ||
import net.minecraft.world.entity.player.Inventory; | ||
|
||
import net.dries007.tfc.client.screen.TFCContainerScreen; | ||
import net.dries007.tfc.common.capabilities.Capabilities; | ||
import net.dries007.tfc.util.Tooltips; | ||
|
||
public class JuicerScreen extends TFCContainerScreen<JuicerContainer> | ||
{ | ||
public JuicerScreen(JuicerContainer container, Inventory playerInventory, Component name) | ||
{ | ||
super(container, playerInventory, name, INVENTORY_1x1); | ||
} | ||
|
||
@Override | ||
protected void renderLabels(GuiGraphics graphics, int x, int y) | ||
{ | ||
super.renderLabels(graphics, x, y); | ||
menu.getInventory().getStackInSlot(0).getCapability(Capabilities.FLUID_ITEM).ifPresent(cap -> { | ||
if (!cap.getFluidInTank(0).isEmpty()) | ||
{ | ||
drawCenteredLine(graphics, Tooltips.fluidUnitsAndCapacityOf(cap.getFluidInTank(0), JuicerItem.CAPACITY), 14); | ||
} | ||
}); | ||
} | ||
} |
Oops, something went wrong.