The Block Now Falls
This commit is contained in:
parent
7ea3003be7
commit
7f2d295ba8
4 changed files with 45 additions and 10 deletions
|
@ -6,5 +6,5 @@ mc_version=1.19.2
|
|||
forge_version=43.1.3
|
||||
|
||||
group='su.a71.tardim_ic'
|
||||
version = '0.6'
|
||||
version=0.7
|
||||
archivesBaseName='tardim_ic'
|
|
@ -14,14 +14,9 @@ import javax.annotation.Nullable;
|
|||
public class DigitalInterfaceBlock extends Block implements EntityBlock {
|
||||
|
||||
public DigitalInterfaceBlock() {
|
||||
super(Properties.of(Material.METAL).strength(5, 5).noOcclusion());
|
||||
super(Properties.of(Material.METAL).strength(2, 4).noOcclusion());
|
||||
}
|
||||
|
||||
/**
|
||||
* This is the method from {@link EntityBlock} to create a new block entity for our block
|
||||
*
|
||||
* @return A new block entity from our registry object
|
||||
*/
|
||||
@Nullable
|
||||
@Override
|
||||
public BlockEntity newBlockEntity(@NotNull BlockPos pos, @NotNull BlockState state) {
|
||||
|
|
|
@ -1,3 +1,23 @@
|
|||
{
|
||||
"parent": "tardim_ic:block/digital_tardim_interface"
|
||||
"parent": "tardim_ic:block/digital_tardim_interface",
|
||||
"display": {
|
||||
"thirdperson_righthand": {
|
||||
"rotation": [ 75, 45, 0 ],
|
||||
"scale": [ 0.40, 0.40, 0.40 ],
|
||||
"translation": [ 0, 1, 0 ]
|
||||
},
|
||||
"thirdperson_lefthand": {
|
||||
"rotation": [ 75, 45, 0 ],
|
||||
"scale": [ 0.40, 0.40, 0.40 ],
|
||||
"translation": [ 0, 1, 0 ]
|
||||
},
|
||||
"firstperson_lefthand": {
|
||||
"rotation": [ 0, 45, 0 ],
|
||||
"scale": [ 0.40, 0.40, 0.40 ]
|
||||
},
|
||||
"firstperson_righthand": {
|
||||
"rotation": [ 0, 45, 0 ],
|
||||
"scale": [ 0.40, 0.40, 0.40 ]
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
"type": "minecraft:block",
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1,
|
||||
"bonus_rolls": 0,
|
||||
"entries": [
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "tardim_ic:digital_tardim_interface",
|
||||
"conditions": [
|
||||
{
|
||||
"condition": "minecraft:survives_explosion"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Add table
Reference in a new issue