mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-26 15:03:03 +00:00
Merge 1.14
This commit is contained in:
commit
a2f8de9075
29 files changed
+80
-88
No files matched your search
@@ -48,7 +48,6 @@ public class TileEntityGeneratingFlower extends TileEntitySpecialFlower {
|
||||
|
||||
int sizeLastCheck = -1;
|
||||
protected TileEntity linkedCollector = null;
|
||||
public int knownMana = -1;
|
||||
public int passiveDecayTicks;
|
||||
|
||||
BlockPos cachedCollectorCoordinates = null;
|
||||
@@ -206,7 +205,6 @@ public class TileEntityGeneratingFlower extends TileEntitySpecialFlower {
|
||||
sync();
|
||||
}
|
||||
|
||||
knownMana = getMana();
|
||||
SoundEvent evt = ForgeRegistries.SOUND_EVENTS.getValue(DING_SOUND_EVENT);
|
||||
if (evt != null) {
|
||||
player.playSound(evt, 0.1F, 1F);
|
||||
@@ -297,7 +295,7 @@ public class TileEntityGeneratingFlower extends TileEntitySpecialFlower {
|
||||
public void renderHUD(Minecraft mc) {
|
||||
String name = I18n.format(getBlockState().getBlock().getTranslationKey());
|
||||
int color = getColor();
|
||||
BotaniaAPI.internalHandler.drawComplexManaHUD(color, knownMana, getMaxMana(), name, BotaniaAPI.internalHandler.getBindDisplayForFlowerType(this), isValidBinding());
|
||||
BotaniaAPI.internalHandler.drawComplexManaHUD(color, getMana(), getMaxMana(), name, BotaniaAPI.internalHandler.getBindDisplayForFlowerType(this), isValidBinding());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user