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

Certains NBT ne fonctionnent pas lors de la commande /summon

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 1.15.2
    • None
    • Unconfirmed
    • (Unassigned)

      Hello, I'm a big fan of command-block, and I wanted to make a mini-game in minecraft, with only block commands.

      What I wanted to do :

      I simply wanted to make a pig run (not trivial indeed ), and I wanted to make the pig appear with the following properties:

      • Name: Pigy 1
      • Saddle: yes
      • Effect: Speed ​​25 (Without particles, and indefinitely)
      • Glowing: yes
      • Persistent: yes
      • Silent: yes

      The command I used to do this :

      I helped myself with a site, and I used the command below to allow me to do what I wanted to do:

       

      /summon minecraft:pig ~ ~1 ~ {CustomName:"\"Pigy 1\"",CustomNameVisible:1,PersistenceRequired:1b,CanPickUpLoot:0b,Silent:1,Invulnerable:1,Saddle:1,ActiveEffects:[{Id:1,Amplifier:25,Duration:2147483647,ShowParticles:0b}]}
      

       

      The command was made for version 1.14, but I looked at the properties of the pig after giving it the speed 25 effect, and the NBT values ​​were exactly the same. To tell you, I then tried to summon it up with the NBT myself, and of course, no satisfactory results.

      Result of the command :

      Indeed, when I execute this command in the block command which allows me to make it spawner, I only get 3 of the properties I asked for out of 5.
      It actually lacks the effect of speed, and the glowing effect.

      Even stranger :

      I did exactly the same manipulation, but this time with the invisibility effect, and there, no problem. The mob appeared correctly, and invisible.

      End :

      I did not try to see if this bug was present in bedrock edition, but being a big fan of block commands, I must admit: I am sad that I cannot do this.

      Please, Mojang, fix this bug for me !!!!

      Good day (evening),

      • Flymeth

      (PS: translate to french to english with google translator)

            Unassigned Unassigned
            Flymeth Flymeth
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: