added toaster block hardness and tool requirement
This commit is contained in:
parent
3e287b7a6c
commit
4e48c81484
|
@ -4,8 +4,14 @@
|
|||
<option name="autoReloadType" value="SELECTIVE" />
|
||||
</component>
|
||||
<component name="ChangeListManager">
|
||||
<list default="true" id="9d600e86-9aa6-49ee-bbc5-e23128c6a4d1" name="Changes" comment="Upgraded to 1.18">
|
||||
<list default="true" id="9d600e86-9aa6-49ee-bbc5-e23128c6a4d1" name="Changes" comment="uhm what?">
|
||||
<change afterPath="$PROJECT_DIR$/src/main/resources/data/minecraft/tags/blocks/mineable/pickaxe.json" afterDir="false" />
|
||||
<change afterPath="$PROJECT_DIR$/src/main/resources/data/tastytoasters/loot_tables/blocks/toaster.json" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/Temp/loot_tables/blocks/toasters.json" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/Temp/minecraft/tags/blocks/mineable/pickaxe.json" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/Temp/minecraft/tags/blocks/needs_stone_tool.json" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/resources/data/minecraft/tags/blocks/needs_stone_tool.json" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/blackfur/tastytoasters/Tastytoasters.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/blackfur/tastytoasters/Tastytoasters.java" afterDir="false" />
|
||||
</list>
|
||||
<option name="SHOW_DIALOG" value="false" />
|
||||
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
||||
|
@ -178,7 +184,14 @@
|
|||
<option name="project" value="LOCAL" />
|
||||
<updated>1638558511090</updated>
|
||||
</task>
|
||||
<option name="localTasksCounter" value="2" />
|
||||
<task id="LOCAL-00002" summary="uhm what?">
|
||||
<created>1638614632820</created>
|
||||
<option name="number" value="00002" />
|
||||
<option name="presentableId" value="LOCAL-00002" />
|
||||
<option name="project" value="LOCAL" />
|
||||
<updated>1638614632820</updated>
|
||||
</task>
|
||||
<option name="localTasksCounter" value="3" />
|
||||
<servers />
|
||||
</component>
|
||||
<component name="Vcs.Log.Tabs.Properties">
|
||||
|
@ -195,6 +208,7 @@
|
|||
<component name="VcsManagerConfiguration">
|
||||
<MESSAGE value="Basic setup" />
|
||||
<MESSAGE value="Upgraded to 1.18" />
|
||||
<option name="LAST_COMMIT_MESSAGE" value="Upgraded to 1.18" />
|
||||
<MESSAGE value="uhm what?" />
|
||||
<option name="LAST_COMMIT_MESSAGE" value="uhm what?" />
|
||||
</component>
|
||||
</project>
|
|
@ -19,7 +19,7 @@ public class Tastytoasters implements ModInitializer {
|
|||
public static final Item BUTTER_ITEM = new ButterItem();
|
||||
public static final Item BUTTERED_TOAST_ITEM = new ButteredToastItem();
|
||||
|
||||
public static final ToasterBlock TOASTER_BLOCK = new ToasterBlock(FabricBlockSettings.of(Material.METAL).hardness(4.0f));
|
||||
public static final ToasterBlock TOASTER_BLOCK = new ToasterBlock(FabricBlockSettings.of(Material.METAL).hardness(4.0f).requiresTool());
|
||||
|
||||
@Override
|
||||
public void onInitialize() {
|
||||
|
|
|
@ -3,4 +3,5 @@
|
|||
"values": [
|
||||
"tastytoasters:toaster"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -16,4 +16,5 @@
|
|||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in a new issue