Merge pull request #3433 from SuperCoder7979/feature/deployer-tooltip

Add item and mode information to deployer goggle tooltip
This commit is contained in:
simibubi 2022-08-01 15:32:34 +02:00 committed by GitHub
commit 92054c9e1f
Failed to generate hash of commit
19 changed files with 140 additions and 31 deletions

View file

@ -559,22 +559,22 @@ bf2b0310500213ff853c748c236eb5d01f61658e assets/create/blockstates/yellow_toolbo
7f39521b211441f5c3e06d60c5978cebe16cacfb assets/create/blockstates/zinc_block.json
b7181bcd8182b2f17088e5aa881f374c9c65470c assets/create/blockstates/zinc_ore.json
f85edc574ee6de0de7693ffb031266643db6724a assets/create/lang/en_ud.json
f9fcf3163210806f6cea642b13d36632f3f3c533 assets/create/lang/en_us.json
fcf6c0723f89de67ab5f30e01305522b236bd824 assets/create/lang/unfinished/de_de.json
9083ade329d6b2c7469339f2c7ab54d7866f90ff assets/create/lang/unfinished/es_cl.json
db21f76f89573602c77b988371453013bac530cb assets/create/lang/unfinished/es_es.json
b1ed4fc7258f6fb93127e84ed4364f7cc224be2b assets/create/lang/unfinished/fr_fr.json
7cf94dae2536d27f32cfe7aad3a9a9eb7b9978ac assets/create/lang/unfinished/it_it.json
b8252343025f1555ae717e03b7503bfd9c1069f7 assets/create/lang/unfinished/ja_jp.json
bcc01ee88c1877e46f280c967d92b506d328b08d assets/create/lang/unfinished/ko_kr.json
4fd2bf884f18bf833d9819aed2f6fe83cc8ea9a6 assets/create/lang/unfinished/nl_nl.json
e32d5b48ca498b97e036f5cdf0f3b4192b478adf assets/create/lang/unfinished/pl_pl.json
f9d8fdca30725e5e340f7c2727eb3da197081a25 assets/create/lang/unfinished/pt_br.json
f5648cf550a440d2c60dcb7f8b4605d89f0f9713 assets/create/lang/unfinished/pt_pt.json
6f283e7589df6c2293be271846535887bf5a288c assets/create/lang/unfinished/ro_ro.json
119f9953874f07d016fd9602510221de0cd1730b assets/create/lang/unfinished/ru_ru.json
6a5ab805701021b67b4585f0ae014e4b509d8c45 assets/create/lang/unfinished/zh_cn.json
a6eff86622e24eda8f490587734c19526d0c6ecf assets/create/lang/unfinished/zh_tw.json
e7f1b8936615740097ac1104733b4a07e7778653 assets/create/lang/en_us.json
4489bc5eb72bee06f3b69063da1d20e3fd553f78 assets/create/lang/unfinished/de_de.json
be902a94314922103460c7f299aa66aacf0b9ab6 assets/create/lang/unfinished/es_cl.json
b50b0ce3d361177557d4c040f0d59968a1a1a0cb assets/create/lang/unfinished/es_es.json
d358cfb91006a018d80906c983a96df1564ae032 assets/create/lang/unfinished/fr_fr.json
4e37b4a1558189162e871d90e7e7b8a91309097f assets/create/lang/unfinished/it_it.json
c3a30c7f396e79039c6d16f2787bb68ebaa8c3ac assets/create/lang/unfinished/ja_jp.json
5c8ef3dfab9f3e9b6a29d2cab2823b18ee4e1ce0 assets/create/lang/unfinished/ko_kr.json
022e7d040a6fa1ab11edeb9dc0c4dbb530a85564 assets/create/lang/unfinished/nl_nl.json
e9f67952f6c3715fed3b0fcdc76400cc84ee7cb0 assets/create/lang/unfinished/pl_pl.json
fa073688fdee7c92e5e3affc28afc329652b54cb assets/create/lang/unfinished/pt_br.json
4ebb68c5eb6964ca5081f74416d8a624fdeaef60 assets/create/lang/unfinished/pt_pt.json
b7f314a1ac2595651ec4578add55525387c734db assets/create/lang/unfinished/ro_ro.json
e4e579dd51ed56332d638de3c737e917780a18e5 assets/create/lang/unfinished/ru_ru.json
008b8c52a59d08e0e8f26a09521be9e5d93ff8aa assets/create/lang/unfinished/zh_cn.json
ebc88d8b1f6115b6c3303ec4357c565049888a96 assets/create/lang/unfinished/zh_tw.json
487a511a01b2a4531fb672f917922312db78f958 assets/create/models/block/acacia_window.json
b48060cba1a382f373a05bf0039054053eccf076 assets/create/models/block/acacia_window_pane_noside.json
3066db1bf03cffa1a9c7fbacf47ae586632f4eb3 assets/create/models/block/acacia_window_pane_noside_alt.json

View file

@ -1365,6 +1365,10 @@
"create.tooltip.chute.fans_pull_up": "Fans pull from Above",
"create.tooltip.chute.fans_pull_down": "Fans pull from Below",
"create.tooltip.chute.contains": "Contains: %1$s x%2$s",
"create.tooltip.deployer.header": "Deployer Information",
"create.tooltip.deployer.using": "Deployer is Using",
"create.tooltip.deployer.punching": "Deployer is Punching",
"create.tooltip.deployer.contains": "Holding: %1$s x%2$s",
"create.tooltip.brass_tunnel.contains": "Currently distributing:",
"create.tooltip.brass_tunnel.contains_entry": "> %1$s x%2$s",
"create.tooltip.brass_tunnel.retrieve": "Right-Click to retrieve",

View file

@ -1,5 +1,5 @@
{
"_": "Missing Localizations: 1330",
"_": "Missing Localizations: 1334",
"_": "->------------------------] Game Elements [------------------------<-",
@ -1366,6 +1366,10 @@
"create.tooltip.chute.fans_pull_up": "Propeller ziehen von oberhalb",
"create.tooltip.chute.fans_pull_down": "Propeller ziehen von unterhalb",
"create.tooltip.chute.contains": "Enthält: %1$s x%2$s",
"create.tooltip.deployer.header": "UNLOCALIZED: Deployer Information",
"create.tooltip.deployer.using": "UNLOCALIZED: Deployer is Using",
"create.tooltip.deployer.punching": "UNLOCALIZED: Deployer is Punching",
"create.tooltip.deployer.contains": "UNLOCALIZED: Holding: %1$s x%2$s",
"create.tooltip.brass_tunnel.contains": "Verteilt derzeit:",
"create.tooltip.brass_tunnel.contains_entry": "> %1$s x%2$s",
"create.tooltip.brass_tunnel.retrieve": "Rechtsklicken, um zu entnehmen",

View file

@ -1,5 +1,5 @@
{
"_": "Missing Localizations: 980",
"_": "Missing Localizations: 984",
"_": "->------------------------] Game Elements [------------------------<-",
@ -1366,6 +1366,10 @@
"create.tooltip.chute.fans_pull_up": "Ventiladores tirando desde arriba",
"create.tooltip.chute.fans_pull_down": "Ventiladores tirando desde abajo",
"create.tooltip.chute.contains": "Contiene: %1$s x%2$s",
"create.tooltip.deployer.header": "UNLOCALIZED: Deployer Information",
"create.tooltip.deployer.using": "UNLOCALIZED: Deployer is Using",
"create.tooltip.deployer.punching": "UNLOCALIZED: Deployer is Punching",
"create.tooltip.deployer.contains": "UNLOCALIZED: Holding: %1$s x%2$s",
"create.tooltip.brass_tunnel.contains": "Actualmente distribuyendo:",
"create.tooltip.brass_tunnel.contains_entry": "> %1$s x%2$s",
"create.tooltip.brass_tunnel.retrieve": "Click-Derecho para recuperar",

View file

@ -1,5 +1,5 @@
{
"_": "Missing Localizations: 644",
"_": "Missing Localizations: 648",
"_": "->------------------------] Game Elements [------------------------<-",
@ -1366,6 +1366,10 @@
"create.tooltip.chute.fans_pull_up": "Los ventiladores tiran desde arriba",
"create.tooltip.chute.fans_pull_down": "Los ventiladores tiran desde abajo",
"create.tooltip.chute.contains": "Contiene: %1$s x%2$s",
"create.tooltip.deployer.header": "UNLOCALIZED: Deployer Information",
"create.tooltip.deployer.using": "UNLOCALIZED: Deployer is Using",
"create.tooltip.deployer.punching": "UNLOCALIZED: Deployer is Punching",
"create.tooltip.deployer.contains": "UNLOCALIZED: Holding: %1$s x%2$s",
"create.tooltip.brass_tunnel.contains": "Actualmente distribuye:",
"create.tooltip.brass_tunnel.contains_entry": "> %1$s x%2$s",
"create.tooltip.brass_tunnel.retrieve": "Haga clic derecho para recuperar",

View file

@ -1,5 +1,5 @@
{
"_": "Missing Localizations: 2131",
"_": "Missing Localizations: 2135",
"_": "->------------------------] Game Elements [------------------------<-",
@ -1366,6 +1366,10 @@
"create.tooltip.chute.fans_pull_up": "UNLOCALIZED: Fans pull from Above",
"create.tooltip.chute.fans_pull_down": "UNLOCALIZED: Fans pull from Below",
"create.tooltip.chute.contains": "UNLOCALIZED: Contains: %1$s x%2$s",
"create.tooltip.deployer.header": "UNLOCALIZED: Deployer Information",
"create.tooltip.deployer.using": "UNLOCALIZED: Deployer is Using",
"create.tooltip.deployer.punching": "UNLOCALIZED: Deployer is Punching",
"create.tooltip.deployer.contains": "UNLOCALIZED: Holding: %1$s x%2$s",
"create.tooltip.brass_tunnel.contains": "UNLOCALIZED: Currently distributing:",
"create.tooltip.brass_tunnel.contains_entry": "UNLOCALIZED: > %1$s x%2$s",
"create.tooltip.brass_tunnel.retrieve": "UNLOCALIZED: Right-Click to retrieve",

View file

@ -1,5 +1,5 @@
{
"_": "Missing Localizations: 1902",
"_": "Missing Localizations: 1906",
"_": "->------------------------] Game Elements [------------------------<-",
@ -1366,6 +1366,10 @@
"create.tooltip.chute.fans_pull_up": "I ventilatori tirano da sopra",
"create.tooltip.chute.fans_pull_down": "I ventilatori tirano da sotto",
"create.tooltip.chute.contains": "Contiene: %1$s x%2$s",
"create.tooltip.deployer.header": "UNLOCALIZED: Deployer Information",
"create.tooltip.deployer.using": "UNLOCALIZED: Deployer is Using",
"create.tooltip.deployer.punching": "UNLOCALIZED: Deployer is Punching",
"create.tooltip.deployer.contains": "UNLOCALIZED: Holding: %1$s x%2$s",
"create.tooltip.brass_tunnel.contains": "UNLOCALIZED: Currently distributing:",
"create.tooltip.brass_tunnel.contains_entry": "UNLOCALIZED: > %1$s x%2$s",
"create.tooltip.brass_tunnel.retrieve": "UNLOCALIZED: Right-Click to retrieve",

View file

@ -1,5 +1,5 @@
{
"_": "Missing Localizations: 646",
"_": "Missing Localizations: 650",
"_": "->------------------------] Game Elements [------------------------<-",
@ -1366,6 +1366,10 @@
"create.tooltip.chute.fans_pull_up": "ファンが上から吸い込んでいます",
"create.tooltip.chute.fans_pull_down": "ファンが下から吸い込んでいます",
"create.tooltip.chute.contains": "内容物: %1$s x%2$s",
"create.tooltip.deployer.header": "UNLOCALIZED: Deployer Information",
"create.tooltip.deployer.using": "UNLOCALIZED: Deployer is Using",
"create.tooltip.deployer.punching": "UNLOCALIZED: Deployer is Punching",
"create.tooltip.deployer.contains": "UNLOCALIZED: Holding: %1$s x%2$s",
"create.tooltip.brass_tunnel.contains": "配布中",
"create.tooltip.brass_tunnel.contains_entry": "> %1$s x%2$s",
"create.tooltip.brass_tunnel.retrieve": "右クリックで取り出し",

View file

@ -1,5 +1,5 @@
{
"_": "Missing Localizations: 646",
"_": "Missing Localizations: 650",
"_": "->------------------------] Game Elements [------------------------<-",
@ -1366,6 +1366,10 @@
"create.tooltip.chute.fans_pull_up": "선풍기가 위에서 당김",
"create.tooltip.chute.fans_pull_down": "선풍기가 아래에서 당김",
"create.tooltip.chute.contains": "들어있는 아이템: %1$s x%2$s",
"create.tooltip.deployer.header": "UNLOCALIZED: Deployer Information",
"create.tooltip.deployer.using": "UNLOCALIZED: Deployer is Using",
"create.tooltip.deployer.punching": "UNLOCALIZED: Deployer is Punching",
"create.tooltip.deployer.contains": "UNLOCALIZED: Holding: %1$s x%2$s",
"create.tooltip.brass_tunnel.contains": "분배 중인 아이템:",
"create.tooltip.brass_tunnel.contains_entry": "> %1$s x%2$s",
"create.tooltip.brass_tunnel.retrieve": "우클릭하여 회수",

View file

@ -1,5 +1,5 @@
{
"_": "Missing Localizations: 2479",
"_": "Missing Localizations: 2483",
"_": "->------------------------] Game Elements [------------------------<-",
@ -1366,6 +1366,10 @@
"create.tooltip.chute.fans_pull_up": "UNLOCALIZED: Fans pull from Above",
"create.tooltip.chute.fans_pull_down": "UNLOCALIZED: Fans pull from Below",
"create.tooltip.chute.contains": "UNLOCALIZED: Contains: %1$s x%2$s",
"create.tooltip.deployer.header": "UNLOCALIZED: Deployer Information",
"create.tooltip.deployer.using": "UNLOCALIZED: Deployer is Using",
"create.tooltip.deployer.punching": "UNLOCALIZED: Deployer is Punching",
"create.tooltip.deployer.contains": "UNLOCALIZED: Holding: %1$s x%2$s",
"create.tooltip.brass_tunnel.contains": "UNLOCALIZED: Currently distributing:",
"create.tooltip.brass_tunnel.contains_entry": "UNLOCALIZED: > %1$s x%2$s",
"create.tooltip.brass_tunnel.retrieve": "UNLOCALIZED: Right-Click to retrieve",

View file

@ -1,5 +1,5 @@
{
"_": "Missing Localizations: 1019",
"_": "Missing Localizations: 1023",
"_": "->------------------------] Game Elements [------------------------<-",
@ -1366,6 +1366,10 @@
"create.tooltip.chute.fans_pull_up": "Wiatraki ciągną od góry",
"create.tooltip.chute.fans_pull_down": "Wiatraki ciągną od dołu",
"create.tooltip.chute.contains": "Zawiera: %1$s x%2$s",
"create.tooltip.deployer.header": "UNLOCALIZED: Deployer Information",
"create.tooltip.deployer.using": "UNLOCALIZED: Deployer is Using",
"create.tooltip.deployer.punching": "UNLOCALIZED: Deployer is Punching",
"create.tooltip.deployer.contains": "UNLOCALIZED: Holding: %1$s x%2$s",
"create.tooltip.brass_tunnel.contains": "Aktualnie przenosi:",
"create.tooltip.brass_tunnel.contains_entry": "> %2$sx %1$s",
"create.tooltip.brass_tunnel.retrieve": "Kliknij prawym przyciskiem aby zabrać",

View file

@ -1,5 +1,5 @@
{
"_": "Missing Localizations: 1513",
"_": "Missing Localizations: 1517",
"_": "->------------------------] Game Elements [------------------------<-",
@ -1366,6 +1366,10 @@
"create.tooltip.chute.fans_pull_up": "Ventiladores sugam de cima",
"create.tooltip.chute.fans_pull_down": "Ventiladores sugam de baixo",
"create.tooltip.chute.contains": "Contem: %1$s x%2$s",
"create.tooltip.deployer.header": "UNLOCALIZED: Deployer Information",
"create.tooltip.deployer.using": "UNLOCALIZED: Deployer is Using",
"create.tooltip.deployer.punching": "UNLOCALIZED: Deployer is Punching",
"create.tooltip.deployer.contains": "UNLOCALIZED: Holding: %1$s x%2$s",
"create.tooltip.brass_tunnel.contains": "Distribuindo:",
"create.tooltip.brass_tunnel.contains_entry": " > %1$s x%2$s",
"create.tooltip.brass_tunnel.retrieve": "Clique direito para recuperar item",

View file

@ -1,5 +1,5 @@
{
"_": "Missing Localizations: 2188",
"_": "Missing Localizations: 2192",
"_": "->------------------------] Game Elements [------------------------<-",
@ -1366,6 +1366,10 @@
"create.tooltip.chute.fans_pull_up": "UNLOCALIZED: Fans pull from Above",
"create.tooltip.chute.fans_pull_down": "UNLOCALIZED: Fans pull from Below",
"create.tooltip.chute.contains": "UNLOCALIZED: Contains: %1$s x%2$s",
"create.tooltip.deployer.header": "UNLOCALIZED: Deployer Information",
"create.tooltip.deployer.using": "UNLOCALIZED: Deployer is Using",
"create.tooltip.deployer.punching": "UNLOCALIZED: Deployer is Punching",
"create.tooltip.deployer.contains": "UNLOCALIZED: Holding: %1$s x%2$s",
"create.tooltip.brass_tunnel.contains": "UNLOCALIZED: Currently distributing:",
"create.tooltip.brass_tunnel.contains_entry": "UNLOCALIZED: > %1$s x%2$s",
"create.tooltip.brass_tunnel.retrieve": "UNLOCALIZED: Right-Click to retrieve",

View file

@ -1,5 +1,5 @@
{
"_": "Missing Localizations: 647",
"_": "Missing Localizations: 651",
"_": "->------------------------] Game Elements [------------------------<-",
@ -1366,6 +1366,10 @@
"create.tooltip.chute.fans_pull_up": "Ventilatoarele trag de Sus",
"create.tooltip.chute.fans_pull_down": "Ventilatoarele trag de Jos",
"create.tooltip.chute.contains": "Conține: %1$s x%2$s",
"create.tooltip.deployer.header": "UNLOCALIZED: Deployer Information",
"create.tooltip.deployer.using": "UNLOCALIZED: Deployer is Using",
"create.tooltip.deployer.punching": "UNLOCALIZED: Deployer is Punching",
"create.tooltip.deployer.contains": "UNLOCALIZED: Holding: %1$s x%2$s",
"create.tooltip.brass_tunnel.contains": "Distribuie Curent:",
"create.tooltip.brass_tunnel.contains_entry": "> %1$s x%2$s",
"create.tooltip.brass_tunnel.retrieve": "Click Dreapta pentru a recupera",

View file

@ -1,5 +1,5 @@
{
"_": "Missing Localizations: 1",
"_": "Missing Localizations: 5",
"_": "->------------------------] Game Elements [------------------------<-",
@ -1366,6 +1366,10 @@
"create.tooltip.chute.fans_pull_up": "Вентилятор тянет сверху",
"create.tooltip.chute.fans_pull_down": "Вентилятор тянет снизу",
"create.tooltip.chute.contains": "Содержит: %1$s x%2$s",
"create.tooltip.deployer.header": "UNLOCALIZED: Deployer Information",
"create.tooltip.deployer.using": "UNLOCALIZED: Deployer is Using",
"create.tooltip.deployer.punching": "UNLOCALIZED: Deployer is Punching",
"create.tooltip.deployer.contains": "UNLOCALIZED: Holding: %1$s x%2$s",
"create.tooltip.brass_tunnel.contains": "В данный момент раздает(выдает):",
"create.tooltip.brass_tunnel.contains_entry": "> %1$s x%2$s",
"create.tooltip.brass_tunnel.retrieve": "ПКМ, чтобы получить",

View file

@ -1,5 +1,5 @@
{
"_": "Missing Localizations: 644",
"_": "Missing Localizations: 648",
"_": "->------------------------] Game Elements [------------------------<-",
@ -1366,6 +1366,10 @@
"create.tooltip.chute.fans_pull_up": "鼓风机从上方进行吸引",
"create.tooltip.chute.fans_pull_down": "鼓风机从下方进行吸引",
"create.tooltip.chute.contains": "内含物品:%1$s x%2$s",
"create.tooltip.deployer.header": "UNLOCALIZED: Deployer Information",
"create.tooltip.deployer.using": "UNLOCALIZED: Deployer is Using",
"create.tooltip.deployer.punching": "UNLOCALIZED: Deployer is Punching",
"create.tooltip.deployer.contains": "UNLOCALIZED: Holding: %1$s x%2$s",
"create.tooltip.brass_tunnel.contains": "目前分配:",
"create.tooltip.brass_tunnel.contains_entry": "> %1$s x%2$s",
"create.tooltip.brass_tunnel.retrieve": "右击取出",

View file

@ -1,5 +1,5 @@
{
"_": "Missing Localizations: 1038",
"_": "Missing Localizations: 1042",
"_": "->------------------------] Game Elements [------------------------<-",
@ -1366,6 +1366,10 @@
"create.tooltip.chute.fans_pull_up": "鼓風機從下方進行吸引",
"create.tooltip.chute.fans_pull_down": "鼓風機從上方進行吸引",
"create.tooltip.chute.contains": "物品: %1$s x%2$s",
"create.tooltip.deployer.header": "UNLOCALIZED: Deployer Information",
"create.tooltip.deployer.using": "UNLOCALIZED: Deployer is Using",
"create.tooltip.deployer.punching": "UNLOCALIZED: Deployer is Punching",
"create.tooltip.deployer.contains": "UNLOCALIZED: Holding: %1$s x%2$s",
"create.tooltip.brass_tunnel.contains": "正在處理",
"create.tooltip.brass_tunnel.contains_entry": "> %1$s x%2$s",
"create.tooltip.brass_tunnel.retrieve": "右鍵取回",

View file

@ -12,6 +12,7 @@ import com.jozufozu.flywheel.core.PartialModel;
import com.simibubi.create.AllBlockPartials;
import com.simibubi.create.AllBlocks;
import com.simibubi.create.AllRecipeTypes;
import com.simibubi.create.content.contraptions.base.IRotate.StressImpact;
import com.simibubi.create.content.contraptions.base.KineticTileEntity;
import com.simibubi.create.content.contraptions.itemAssembly.SequencedAssemblyRecipe;
import com.simibubi.create.content.curiosities.tools.SandPaperItem;
@ -22,16 +23,19 @@ import com.simibubi.create.foundation.tileEntity.TileEntityBehaviour;
import com.simibubi.create.foundation.tileEntity.behaviour.belt.BeltProcessingBehaviour;
import com.simibubi.create.foundation.tileEntity.behaviour.belt.TransportedItemStackHandlerBehaviour;
import com.simibubi.create.foundation.tileEntity.behaviour.filtering.FilteringBehaviour;
import com.simibubi.create.foundation.utility.Lang;
import com.simibubi.create.foundation.utility.NBTHelper;
import com.simibubi.create.foundation.utility.VecHelper;
import com.simibubi.create.foundation.utility.animation.LerpedFloat;
import net.minecraft.ChatFormatting;
import net.minecraft.core.BlockPos;
import net.minecraft.core.Direction;
import net.minecraft.nbt.CompoundTag;
import net.minecraft.nbt.ListTag;
import net.minecraft.nbt.Tag;
import net.minecraft.network.chat.Component;
import net.minecraft.network.chat.TranslatableComponent;
import net.minecraft.server.level.ServerLevel;
import net.minecraft.sounds.SoundEvents;
import net.minecraft.sounds.SoundSource;
@ -459,6 +463,42 @@ public class DeployerTileEntity extends KineticTileEntity {
return true;
}
@Override
public boolean addToGoggleTooltip(List<Component> tooltip, boolean isPlayerSneaking) {
Lang.translate("tooltip.deployer.header")
.forGoggles(tooltip);
float stressAtBase = calculateStressApplied();
if (StressImpact.isEnabled() && !Mth.equal(stressAtBase, 0)) {
Lang.translate("tooltip.stressImpact")
.style(ChatFormatting.GRAY)
.forGoggles(tooltip);
float stressTotal = stressAtBase * Math.abs(getTheoreticalSpeed());
Lang.number(stressTotal)
.translate("generic.unit.stress")
.style(ChatFormatting.AQUA)
.space()
.add(Lang.translate("gui.goggles.at_current_speed")
.style(ChatFormatting.DARK_GRAY))
.forGoggles(tooltip, 1);
}
Lang.translate("tooltip.deployer." + (mode == Mode.USE ? "using" : "punching"))
.style(ChatFormatting.YELLOW)
.forGoggles(tooltip);
if (!heldItem.isEmpty()) {
Lang.translate("tooltip.deployer.contains", new TranslatableComponent(heldItem.getDescriptionId()).getString(), heldItem.getCount())
.style(ChatFormatting.GREEN)
.forGoggles(tooltip);
}
return true;
}
@OnlyIn(Dist.CLIENT)
public float getHandOffset(float partialTicks) {
if (isVirtual())

View file

@ -529,6 +529,11 @@
"create.tooltip.chute.fans_pull_down": "Fans pull from Below",
"create.tooltip.chute.contains": "Contains: %1$s x%2$s",
"create.tooltip.deployer.header": "Deployer Information",
"create.tooltip.deployer.using": "Deployer is Using",
"create.tooltip.deployer.punching": "Deployer is Punching",
"create.tooltip.deployer.contains": "Holding: %1$s x%2$s",
"create.tooltip.brass_tunnel.contains": "Currently distributing:",
"create.tooltip.brass_tunnel.contains_entry": "> %1$s x%2$s",
"create.tooltip.brass_tunnel.retrieve": "Right-Click to retrieve",