Class: McBlocky::DSL::RepeatChain
- Defined in:
- lib/mcblocky/dsl/repeat_chain.rb
Constant Summary
Constants inherited from Commands
Instance Attribute Summary collapse
-
#rect ⇒ Object
readonly
Returns the value of attribute rect.
Attributes inherited from Commands
Instance Method Summary collapse
-
#initialize(context, *args) ⇒ RepeatChain
constructor
A new instance of RepeatChain.
Methods inherited from Commands
#activate, #blockdata, #command, #detect, #disable, #enable, #execute, #gamerule, #replaceitem, #scoreboard, #setblock, #tellraw, #title, #to_nbt
Constructor Details
#initialize(context, *args) ⇒ RepeatChain
Returns a new instance of RepeatChain.
4 5 6 7 |
# File 'lib/mcblocky/dsl/repeat_chain.rb', line 4 def initialize(context, *args) super(context, :repeat) @rect = McBlocky::Rect.new(*args) end |
Instance Attribute Details
#rect ⇒ Object (readonly)
Returns the value of attribute rect.
3 4 5 |
# File 'lib/mcblocky/dsl/repeat_chain.rb', line 3 def rect @rect end |