Welcome on MasterOf13FPS! MasterOf13FPS

Register today or sign up if you are already a member and never miss any cool content again :)

Silent Scaffold (NCP)

MasterOf13FPS

Administrator
Staff member
Administrator
MasterOf13FPS
Joined
Jul 11, 2020
Messages
0
Reaction score
25
Points
0
It's a code example feel free to improve it.
don't remember who requested it but here's a silent scaffold :3
doesn't bypass aac.
doesn't include safewalk.

[hide]https://ghostbin.com/paste/3gcmp[/hide]

//EDIT: improved invalid block checking
 
Last edited by a moderator:
Code:
invalidBlocks = Arrays.asList(
                Blocks.air, Blocks.water, Blocks.flowing_water, Blocks.lava, Blocks.flowing_lava,
                Blocks.enchanting_table, Blocks.carpet, Blocks.glass_pane, Blocks.stained_glass_pane, Blocks.iron_bars,
                Blocks.snow_layer, Blocks.ice, Blocks.packed_ice, Blocks.coal_ore, Blocks.diamond_ore, Blocks.emerald_ore,
                Blocks.chest, Blocks.ender_chest, Blocks.torch, Blocks.anvil, Blocks.trapped_chest, Blocks.noteblock, Blocks.jukebox, Blocks.tnt,
                Blocks.gold_ore, Blocks.iron_ore, Blocks.lapis_ore, Blocks.lit_redstone_ore, Blocks.quartz_ore, Blocks.redstone_ore,
                Blocks.wooden_pressure_plate, Blocks.stone_pressure_plate, Blocks.light_weighted_pressure_plate, Blocks.heavy_weighted_pressure_plate,
                Blocks.stone_button, Blocks.wooden_button, Blocks.lever, Blocks.furnace, Blocks.lit_furnace, Blocks.crafting_table,
                Blocks.acacia_fence, Blocks.acacia_fence_gate, Blocks.birch_fence, Blocks.birch_fence_gate, Blocks.dark_oak_fence, Blocks.dark_oak_fence_gate, Blocks.jungle_fence, Blocks.jungle_fence_gate, Blocks.oak_fence, Blocks.oak_fence_gate,
                Blocks.acacia_door, Blocks.birch_door, Blocks.dark_oak_door, Blocks.iron_door, Blocks.jungle_door, Blocks.oak_door, Blocks.spruce_door,
                Blocks.rail, Blocks.activator_rail, Blocks.detector_rail, Blocks.golden_rail, Blocks.brewing_stand);
Was ist denn bitte das für ein Code?
 
Code:
invalidBlocks = Arrays.asList(
                Blocks.air, Blocks.water, Blocks.flowing_water, Blocks.lava, Blocks.flowing_lava,
                Blocks.enchanting_table, Blocks.carpet, Blocks.glass_pane, Blocks.stained_glass_pane, Blocks.iron_bars,
                Blocks.snow_layer, Blocks.ice, Blocks.packed_ice, Blocks.coal_ore, Blocks.diamond_ore, Blocks.emerald_ore,
                Blocks.chest, Blocks.ender_chest, Blocks.torch, Blocks.anvil, Blocks.trapped_chest, Blocks.noteblock, Blocks.jukebox, Blocks.tnt,
                Blocks.gold_ore, Blocks.iron_ore, Blocks.lapis_ore, Blocks.lit_redstone_ore, Blocks.quartz_ore, Blocks.redstone_ore,
                Blocks.wooden_pressure_plate, Blocks.stone_pressure_plate, Blocks.light_weighted_pressure_plate, Blocks.heavy_weighted_pressure_plate,
                Blocks.stone_button, Blocks.wooden_button, Blocks.lever, Blocks.furnace, Blocks.lit_furnace, Blocks.crafting_table,
                Blocks.acacia_fence, Blocks.acacia_fence_gate, Blocks.birch_fence, Blocks.birch_fence_gate, Blocks.dark_oak_fence, Blocks.dark_oak_fence_gate, Blocks.jungle_fence, Blocks.jungle_fence_gate, Blocks.oak_fence, Blocks.oak_fence_gate,
                Blocks.acacia_door, Blocks.birch_door, Blocks.dark_oak_door, Blocks.iron_door, Blocks.jungle_door, Blocks.oak_door, Blocks.spruce_door,
                Blocks.rail, Blocks.activator_rail, Blocks.detector_rail, Blocks.golden_rail, Blocks.brewing_stand);
Was ist denn bitte das für ein Code?
damit er damit nicht baut?
 
fixed.

Code:
invalidBlocks = Arrays.asList(
                Blocks.air, Blocks.water, Blocks.flowing_water, Blocks.lava, Blocks.flowing_lava,
                Blocks.enchanting_table, Blocks.carpet, Blocks.glass_pane, Blocks.stained_glass_pane, Blocks.iron_bars,
                Blocks.snow_layer, Blocks.ice, Blocks.packed_ice, Blocks.coal_ore, Blocks.diamond_ore, Blocks.emerald_ore,
                Blocks.chest, Blocks.ender_chest, Blocks.torch, Blocks.anvil, Blocks.trapped_chest, Blocks.noteblock, Blocks.jukebox, Blocks.tnt,
                Blocks.gold_ore, Blocks.iron_ore, Blocks.lapis_ore, Blocks.lit_redstone_ore, Blocks.quartz_ore, Blocks.redstone_ore,
                Blocks.wooden_pressure_plate, Blocks.stone_pressure_plate, Blocks.light_weighted_pressure_plate, Blocks.heavy_weighted_pressure_plate,
                Blocks.stone_button, Blocks.wooden_button, Blocks.lever, Blocks.furnace, Blocks.lit_furnace, Blocks.crafting_table,
                Blocks.acacia_fence, Blocks.acacia_fence_gate, Blocks.birch_fence, Blocks.birch_fence_gate, Blocks.dark_oak_fence, Blocks.dark_oak_fence_gate, Blocks.jungle_fence, Blocks.jungle_fence_gate, Blocks.oak_fence, Blocks.oak_fence_gate,
                Blocks.acacia_door, Blocks.birch_door, Blocks.dark_oak_door, Blocks.iron_door, Blocks.jungle_door, Blocks.oak_door, Blocks.spruce_door,
                Blocks.rail, Blocks.activator_rail, Blocks.detector_rail, Blocks.golden_rail, Blocks.brewing_stand);
Was ist denn bitte das für ein Code?
 
shape1
shape2
shape3
shape4
shape5
shape6
Back
Top