Commits
md_5 authored d4c3dd53a89
179 179 | |
180 180 | void setData(byte data, boolean applyPhysics); |
181 181 | |
182 182 | /** |
183 183 | * Sets the type of this block |
184 184 | * |
185 185 | * @param type Material to change this block to |
186 186 | */ |
187 187 | void setType(Material type); |
188 188 | |
189 + | /** |
190 + | * Sets the type of this block |
191 + | * |
192 + | * @param type Material to change this block to |
193 + | * @param applyPhysics False to cancel physics on the changed block. |
194 + | */ |
195 + | void setType(Material type, boolean applyPhysics); |
196 + | |
189 197 | /** |
190 198 | * Sets the type-id of this block |
191 199 | * |
192 200 | * @param type Type-Id to change this block to |
193 201 | * @return whether the block was changed |
194 202 | * @deprecated Magic value |
195 203 | */ |
196 204 | |
197 205 | boolean setTypeId(int type); |
198 206 | |