tutorial:items
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
tutorial:items [2020/11/02 06:36] – [Adding Item textures] item/generated -> builtin/generated leocth2 | tutorial:items [2020/11/02 07:17] – [Creating an Item class] use static factory methods of TypeActionResult leocth2 | ||
---|---|---|---|
Line 84: | Line 84: | ||
public TypedActionResult< | public TypedActionResult< | ||
playerEntity.playSound(SoundEvents.BLOCK_WOOL_BREAK, | playerEntity.playSound(SoundEvents.BLOCK_WOOL_BREAK, | ||
- | return | + | return TypedActionResult.success(playerEntity.getStackInHand(hand)); |
} | } | ||
} | } |
tutorial/items.txt · Last modified: 2024/04/20 08:05 by ryhon