19 lines
559 B
Kotlin
19 lines
559 B
Kotlin
package net.shadowfacts.extrahoppers.block.wood
|
|
|
|
import net.minecraft.block.Material
|
|
import net.minecraft.util.Identifier
|
|
import net.minecraft.world.BlockView
|
|
import net.shadowfacts.extrahoppers.block.base.BlockWithEntity
|
|
|
|
/**
|
|
* @author shadowfacts
|
|
*/
|
|
class WoodHopperBlock: BlockWithEntity<WoodHopperBlockEntity>(Settings.of(Material.WOOD)) {
|
|
companion object {
|
|
val ID = Identifier("extrahoppers", "wood_hopper")
|
|
}
|
|
|
|
override fun createBlockEntity(world: BlockView): WoodHopperBlockEntity {
|
|
return WoodHopperBlockEntity()
|
|
}
|
|
} |