relay blockstates and capacitor magic
This commit is contained in:
@@ -18,6 +18,7 @@ import net.minecraft.world.level.block.state.BlockState
|
||||
import net.minecraft.world.phys.BlockHitResult
|
||||
import org.neoflock.neocomputers.entity.BlockEntities
|
||||
import org.neoflock.neocomputers.network.DeviceNode
|
||||
import org.neoflock.neocomputers.network.Networking
|
||||
import org.neoflock.neocomputers.network.PowerRole
|
||||
import kotlin.math.min
|
||||
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"variants": {
|
||||
"": {
|
||||
"model": "neocomputers:block/relay"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"parent": "minecraft:block/cube",
|
||||
"textures": {
|
||||
"up": "neocomputers:block/relay_top",
|
||||
"down": "neocomputers:block/screen_bottom",
|
||||
"north": "neocomputers:block/relay_side",
|
||||
"south": "neocomputers:block/relay_side",
|
||||
"east": "neocomputers:block/relay_side",
|
||||
"west": "neocomputers:block/relay_side",
|
||||
"particle": "neocomputers:block/case_top"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"parent": "neocomputers:block/relay"
|
||||
}
|
||||
Reference in New Issue
Block a user