NoConfigBuilder SoundEntryBuilder sound(P parent, String name) {
+ return entry(name, callback -> new SoundEntryBuilder<>(this, parent, name, callback));
}
- // Blocks
+ /// Block Builder
+
@Override
public NoConfigBuilder NoConfigBuilder NoConfigBuilder
+ * If the {@link BlockBuilder} has not been created yet, then the default one is created.
+ *
+ * @return the {@link BlockBuilder} for the {@link MetaMachineBlock}
+ */
+ public BlockBuilder extends MetaMachineBlock, MachineBuilder
+ * Cannot be called if {@link #block()} has already been called.
+ *
+ * @param The type of the block.
+ * @param factory A factory for the block, which accepts the block properties and machine definition and returns a
+ * new block.
+ * @return the {@link BlockBuilder} for the {@link MetaMachineBlock}
+ */
+ public BlockBuilder> block(BiFunction