Interface NodeBuilder<T>
- All Known Implementing Classes:
AddBuilder, ConstantBuilder, MultiplyBuilder
public interface NodeBuilder<T>
-
Method Summary
Modifier and TypeMethodDescriptionevaluate()Compute the node's output value from its inputs.default net.minecraft.network.chat.ComponentOptional display name (used in title bar).getPins()Return the pins this node should have (input and output).booleanrender()Render custom UI inside the node.default voidCalled after the node is created to give the builder its owning node.
-
Method Details
-
getPins
-
render
boolean render()Render custom UI inside the node. Returns true if the value changed. -
evaluate
T evaluate()Compute the node's output value from its inputs. -
getDisplayName
default net.minecraft.network.chat.Component getDisplayName()Optional display name (used in title bar). -
setNode
-