mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-28 07:55:45 +00:00
Grind through a bunch of items. This is going to take a while
This commit is contained in:
1 parent
9cda2d5e87
commit
56e12c7dfd
56 files changed
+479
-651
No files matched your search
@@ -38,7 +38,7 @@ import java.util.List;
|
||||
public class ItemTemperanceStone extends ItemMod {
|
||||
public static final String TAG_ACTIVE = "active";
|
||||
|
||||
public ItemTemperanceStone(Item.Builder builder) {
|
||||
public ItemTemperanceStone(Properties builder) {
|
||||
super(builder);
|
||||
addPropertyOverride(new ResourceLocation(LibMisc.MOD_ID, "active"),
|
||||
(stack, worldIn, entityIn) -> ItemNBTHelper.getBoolean(stack, TAG_ACTIVE, false) ? 1 : 0);
|
||||
|
||||
Reference in new issue
Block a user