Dark Shingle Roof Wire Conduit recipe added. Fixed Ladder climbing (issue #167).
This commit is contained in:
parent
915abca4fa
commit
3f12390dd5
6 changed files with 44 additions and 3 deletions
|
@ -13,6 +13,8 @@
|
|||
package wile.engineersdecor.blocks;
|
||||
|
||||
import net.minecraft.entity.EntitySpawnPlacementRegistry;
|
||||
import net.minecraft.entity.LivingEntity;
|
||||
import net.minecraft.world.IWorldReader;
|
||||
import wile.engineersdecor.ModConfig;
|
||||
import wile.engineersdecor.libmc.detail.Auxiliaries;
|
||||
import net.minecraft.entity.EntityType;
|
||||
|
@ -86,6 +88,10 @@ public class EdLadderBlock extends LadderBlock implements IDecorBlock
|
|||
public PushReaction getPushReaction(BlockState state)
|
||||
{ return PushReaction.NORMAL; }
|
||||
|
||||
@Override
|
||||
public boolean isLadder(BlockState state, IWorldReader world, BlockPos pos, LivingEntity entity)
|
||||
{ return true; }
|
||||
|
||||
// Player update event, forwarded from the main mod instance.
|
||||
public static void onPlayerUpdateEvent(final PlayerEntity player)
|
||||
{
|
||||
|
|
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
"type": "forge:conditional",
|
||||
"recipes": [
|
||||
{
|
||||
"conditions": [
|
||||
{
|
||||
"type": "engineersdecor:optional",
|
||||
"result": "engineersdecor:dark_shingle_roof_wireconduit",
|
||||
"required": [ "engineersdecor:dark_shingle_roof_chimneytrunk" ]
|
||||
}
|
||||
],
|
||||
"recipe": {
|
||||
"type": "minecraft:crafting_shapeless",
|
||||
"ingredients": [
|
||||
{ "item": "engineersdecor:dark_shingle_roof_chimneytrunk" }
|
||||
],
|
||||
"result": {
|
||||
"item": "engineersdecor:dark_shingle_roof_wireconduit"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"replace": false,
|
||||
"values": [
|
||||
"engineersdecor:metal_rung_ladder",
|
||||
"engineersdecor:metal_rung_steps",
|
||||
"engineersdecor:treated_wood_ladder"
|
||||
]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue