20w13a
This commit is contained in:
parent
8679c9398f
commit
11290e89e7
28 changed files with 63 additions and 53 deletions
|
@ -117,7 +117,7 @@ public class StackToolTipHandler implements ItemTooltipCallback {
|
|||
boolean hasData = false;
|
||||
if (stack.hasTag() && stack.getTag().contains("blockEntity_data")) {
|
||||
CompoundTag blockEntityData = stack.getTag().getCompound("blockEntity_data");
|
||||
blockEntity.fromTag(blockEntityData);
|
||||
blockEntity.fromTag(blockEntity.getCachedState(), blockEntityData);
|
||||
hasData = true;
|
||||
components.add(new LiteralText("Block data contained").formatted(Formatting.DARK_GREEN));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue