Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-111537

Bats clipping walls but just visually

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • Minecraft 1.11
    • None
    • Windows 7 Professional
    • Unconfirmed

      Ok, i was making kind of a minigame: there's a room and bats are summoned there, then they fly around and turn into blocks and then into bats again. The problem is that they tend to fly towards the east, so i thought to TP they to the middle of the room as soon as they're summoned. But now they're clipping the walls (just visually, the blocks are placed inside of the room even if the bats are outside of it, and i cant hit then too), and thats kind of ruin the essence of the minigame D:

      Commands (in chain order):

      CHAIN 1:

      /scoreboard players add bat2block Timer 1 (repeat - unconditional - needs redstone)
      
      /scoreboard players test bat2block Timer 100 100 (chain - unconditional - always active)
      
      /execute @e[type=bat,name=bat2blocke] ~ ~ ~ /summon minecraft:armor_stand ~ ~ ~ {Marker:1b,NoGravity:1b,NoBasePlate:1b,CustomName:"bat2blockmarker",Invisible:1b} (repeat - conditional - always active)
      
      /execute @e[type=armor_stand,name=bat2blockmarker] ~ ~ ~ /summon minecraft:item_frame ~ ~ ~ {CustomName:"Align",Invisibility:1b} (chain - unconditional - always active)
      
      /execute @e[name=bat2blockmarker] ~ ~ ~ /tp @e[c=1] @e[name=Align,c=1] (chain - unconditional - always active)
      
      /execute @e[name=bat2blockmarker] ~ ~ ~ /tp @e[c=1] ~ ~ ~0.5 (chain - conditional - always active)
      
      /kill @e[name=Align] (chain - conditional - always active)
      
      /execute @e[type=bat,name=bat2blocke] ~ ~ ~ /effect @e[c=1] invisibility 1 1 true (chain - unconditional - always active)
      
      /execute @e[type=bat,name=bat2blocke] ~ ~ ~ /kill @e[c=1] (chain - unconditional - always active)
      
      /execute @e[name=bat2blockmarker] ~ ~ ~ /fill ~ ~ ~ ~ ~ ~ obsidian 0 replace air 0 
      

      CHAIN 2:

      /scoreboard players test bat2block Timer 250 (repeat - unconditional - needs redstone)
      
      /scoreboard players set bat2block Timer 0 (chain - conditional - always active)
      
      /execute @a ~ ~ ~ /execute @e[name=bat2blockmarker,rm=1] ~ ~ ~ /fill ~ ~ ~ ~ ~ ~ air 0 replace obsidian 0 (repeat - conditional - always active)
      
      /execute @e[name=bat2blockmarker] ~ ~ ~ /summon minecraft:bat ~ ~ ~ {CustomName:bat2blocke} (chain - unconditional - always active)
      
      /execute @e[name=bat2blockmarker] ~ ~ ~ /kill @e[name=bat2blockmarker,c=1] (chain - unconditional - always active)
      
      /tp @e[name=bat2blocke] 735 72 -903 (chain - unconditional - always active)
      

        1. AFTER.png
          AFTER.png
          522 kB
        2. BEFORE.png
          BEFORE.png
          846 kB

            Unassigned Unassigned
            Tiagocf2 Tiago Frausino
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: