net.minecraft.screen.sync

public record ItemStackHash$Impl

implements ItemStackHash

net.minecraft.network.HashedStack$ActualItem
net.minecraft.class_10938$class_10939
net.minecraft.screen.sync.ItemStackHash$Impl

Field summary

Modifier and TypeField
private final RegistryEntry<Item>
item
comp_3876
item
private final int
count
comp_3877
count
private final ComponentChangesHash
components
comp_3878
components
public static final PacketCodec<RegistryByteBuf, ItemStackHash$Impl>
STREAM_CODEC
field_58178
PACKET_CODEC

Constructor summary

ModifierConstructor
public (RegistryEntry<Item> item, int count, ComponentChangesHash components)

Method summary

Modifier and TypeMethod
public boolean
matches(ItemStack itemStack, HashedPatchMap$HashGenerator hasher)
method_68850(class_1799 arg0, class_10936$class_10937 arg1)
hashEquals(ItemStack arg0, ComponentChangesHash$ComponentHasher arg1)
public RegistryEntry<Item>
item()
comp_3876()
item()
public int
count()
comp_3877()
count()
public ComponentChangesHash
components()
comp_3878()
components()