You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Creates a WorkbenchWorkbench configured to use the mod's WORKBENCH_WORKBENCH_BE block entity type.
33
+
* Constructs a WorkbenchWorkbench that uses the mod's WORKBENCH_WORKBENCH_BE block entity type.
34
34
*
35
-
* @param properties block properties used to construct this workbench
35
+
* @param properties block properties for this workbench
36
36
*/
37
37
publicWorkbenchWorkbench(Propertiesproperties) {
38
38
// Hardcode the supplier and sounds here if they never change
@@ -51,9 +51,9 @@ public WorkbenchWorkbench(Properties properties, Supplier<BlockEntityType<? exte
51
51
}
52
52
53
53
/**
54
-
* Provides a ticker that updates workbench workbench block entities each tick.
54
+
* Supplies a ticker that updates WorkbenchWorkbench block entities each tick.
55
55
*
56
-
* @return a BlockEntityTicker that invokes AbstractWorkbenchEntity.tick for WorkbenchWorkbenchEntity instances, or `null` if the supplied block entity type does not match the workbench workbench type.
56
+
* @return a BlockEntityTicker that invokes AbstractWorkbenchEntity.tick for matching WorkbenchWorkbenchEntity instances, `null` if the supplied block entity type does not match
* Populate the provided StackedItemContents with the items currently present in this menu's crafting slots so the recipe book can evaluate available recipes.
64
+
*
65
+
* @param stackedItemContents container to be filled with consolidated item counts from the menu's crafting/container slots
* Registers this mod's blocks into the Functional Blocks creative tab and records the registration.
93
+
* Registers the mod's workbench and furnace blocks into the Functional Blocks creative tab and logs the registration.
94
94
*
95
-
* Adds CAMPFIRE_WORKBENCH_BLOCK and FURNACE_WORKBENCH_BLOCK to CreativeModeTabs.FUNCTIONAL_BLOCKS and prints a registration message including the mod ID.
95
+
* Specifically registers CAMPFIRE_WORKBENCH_BLOCK, WORKBENCH_WORKBENCH_BLOCK, FURNACE_WORKBENCH_BLOCK_T1, and FURNACE_WORKBENCH_BLOCK_T2, then prints a message containing the mod ID.
0 commit comments