beginning of the neocomputer
This commit is contained in:
14
src/main/kotlin/org/neoflock/neocomputers/block/BaseBlock.kt
Normal file
14
src/main/kotlin/org/neoflock/neocomputers/block/BaseBlock.kt
Normal file
@@ -0,0 +1,14 @@
|
||||
package org.neoflock.neocomputers.block
|
||||
|
||||
import net.minecraft.world.level.block.Block
|
||||
|
||||
class BaseBlock : Block {
|
||||
protected val tier: Int
|
||||
constructor(tier: Int): super(Properties.of()) {
|
||||
this.tier = tier
|
||||
}
|
||||
|
||||
public fun getTier(): Int {
|
||||
return tier
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user