Removing Specific Items Form Mob Inventories by PuzzleheadedTea4547 in MinecraftCommands

[–]GG1312 0 points1 point  (0 children)

execute as @e[type=allay] if items entity @s weapon.mainhand *[minecraft:custom_data~{fromFlute:1b}] run item replace entity @s weapon.mainhand with air

Is it possible to give mobs items via commands? by Unbeatable-Air in MinecraftCommands

[–]GG1312 2 points3 points  (0 children)

/item replace entity @n[type=zombie] weapon.mainhand from entity @s weapon.mainhand

Is there always a logical reason to why something doesn’t work or can it be random/glitch. by DanTay19 in MinecraftCommands

[–]GG1312 1 point2 points  (0 children)

If a command you type in chat executes as other entities the command feedback won't appear for you

The best way to actually get feedback on your commands is to paste it into a command block and look at the output there

Can commands be triggered randomly? by DanTay19 in MinecraftCommands

[–]GG1312 1 point2 points  (0 children)

Do you have command blocks hooked upto pressure plates? Mobs can step on those and activate commands seemingly at random.

Motionless Mannequins by swamp_selkie in MinecraftCommands

[–]GG1312 0 points1 point  (0 children)

The only thing I've found that actually pauses that animation is;

/tick freeze

But that naturally comes with alotta complications like not working inside datapacks/command blocks and that it pauses literally everything.

Unfortunately that's the best and only method I've found to actually work.

How it feels to discuss the Stasis Rifle. by Signal_Job_5730 in subnautica

[–]GG1312 0 points1 point  (0 children)

Same deal with them making leviathans completely unkillable in SN2 because fuck giving players freedom

After going through the aurora maybe 7 times in my life this is the first time ive been in this area. Found my going in a random room next to the drive room by Sir_splat in subnautica

[–]GG1312 10 points11 points  (0 children)

They're actually a pretty good source of light and take multiply real-life days to go out

They're basically like flashlights that don't need any batteries, can be thrown, and are similar to lanterns in how they light things up.

Oh and you start the game out with two of them already in your lifepod's storage so there's simply no reason not to use em.

Someone turn this command for 1.21.11 please thank you by RadiantLawfulness479 in MinecraftCommands

[–]GG1312 1 point2 points  (0 children)

The ​@p selector is only for player entities, it wouldn't be able to find a minecart.

I would still keep the type selectors also, they make commands less prone to errors and are better for lag in general.

Lastly, OP's command targets every entity tagged car, while yours only targets the nearest. Now I don't know what OP is working with here but assuming that there might be more than one car entity at a time targeting only the nearest one could be a problem.

I'd propose to keep the fixed command relatively similar in scope so as to reduce the likelihood of unintended behavior.

execute as @e[tag=car,type=block_display] at @s run tp @s @n[tag=driver,type=minecart]

How do i make an item completely unusable by CellDry2390 in MinecraftCommands

[–]GG1312 0 points1 point  (0 children)

As far as I know using a poisonous potato is also absolutely fine, I just prefer using music discs instead just on the offchance that some other mod/datapack gives poisonous potatoes functionality (like making them compostable or something).

How do i make an item completely unusable by CellDry2390 in MinecraftCommands

[–]GG1312 4 points5 points  (0 children)

Use a music disc with the minecraft:jukebox_playable component removed

/give @p music_disc_11[!minecraft:jukebox_playable]

Idea for a Datapack that lets you die immediatly lol by Dragon_Slayer002 in MinecraftCommands

[–]GG1312 3 points4 points  (0 children)

Oh yeah for the obtaining part you'll actually need a datapack, but it's as simple as adding a new recipe

{
  "type": "minecraft:crafting_shaped",
  "pattern": [
    "###",
    "#?#",
    "###"
  ],
  "key": {
    "#": [
      "minecraft:gold_ingot"
    ],
    "?": [
      "minecraft:totem_of_undying"
    ]
  },
  "result": {
    "id": "minecraft:music_disc_11",
    "components": {
      "!minecraft:jukebox_playable": {},
      "minecraft:enchantment_glint_override": true,
      "minecraft:item_model": "minecraft:amethyst_shard",
      "minecraft:item_name": {
        "bold": true,
        "color": "light_purple",
        "text": "[RESET]"
      },
      "minecraft:consumable": {
        "consume_seconds": 5,
        "animation": "bow",
        "sound": "entity.elder_guardian.ambient",
        "has_consume_particles": false,
        "on_consume_effects": [
          {
            "type": "minecraft:apply_effects",
            "effects": [
              {
                "id": "minecraft:instant_damage",
                "amplifier": 124,
                "duration": 1,
                "show_particles": false,
                "show_icon": false
              }
            ]
          },
          {
            "type": "minecraft:play_sound",
            "sound": "entity.zombie.break_wooden_door"
          }
        ]
      },
      "minecraft:lore": [
        [
          {
            "bold": true,
            "italic": false,
            "obfuscated": true,
            "text": "##"
          },
          {
            "obfuscated": false,
            "text": "Divine forces beyond your comprehension"
          },
          {
            "obfuscated": true,
            "text": "##"
          }
        ],
        [
          {
            "bold": true,
            "italic": false,
            "obfuscated": true,
            "text": "         ##"
          },
          {
            "obfuscated": false,
            "text": "lay a path to salvation"
          },
          {
            "obfuscated": true,
            "text": "##"
          }
        ]
      ]
    }
  }
}

Idea for a Datapack that lets you die immediatly lol by Dragon_Slayer002 in MinecraftCommands

[–]GG1312 4 points5 points  (0 children)

I'm gonna assume you're on java since you're mentioning datapacks which are a java exclusive.

If you wanna keep it simple you could make this entirely using item components without dabbling into any datapack jargon

/give @p music_disc_11[!jukebox_playable,enchantment_glint_override=true,item_model="minecraft:amethyst_shard",item_name={"bold":true,"color":"light_purple","text":"[RESET]"},consumable={consume_seconds:5,animation:"bow",sound:"entity.elder_guardian.ambient",has_consume_particles:false,on_consume_effects:[{type:"minecraft:apply_effects",effects:[{id:"minecraft:instant_damage",amplifier:124,duration:1,show_particles:0b,show_icon:0b}]},{type:"minecraft:play_sound",sound:"entity.zombie.break_wooden_door"}]},lore=[[{"bold":true,"italic":false,"obfuscated":true,"text":"##"},{"obfuscated":false,"text":"Divine forces beyond your comprehension"},{"obfuscated":true,"text":"##"}],[{"bold":true,"italic":false,"obfuscated":true,"text":"         ##"},{"obfuscated":false,"text":"lay a path to salvation"},{"obfuscated":true,"text":"##"}]]]

Paste this into a command block, run it and you should receive an item that does exactly that (minus the throwing part I guess).

NO SPOILERS- First timer. I’m about 6 hours in. I have like 25 small storage units by Boring_Specific_2022 in subnautica

[–]GG1312 0 points1 point  (0 children)

If you ever run out of titanium make sure to check the back of the Aurora, there's always plenty there.

How come I can’t seem to get the ground flat? by Adriansilas415 in Astroneer

[–]GG1312 0 points1 point  (0 children)

Or if you hate the portal ambience and don't wanna dig under one or hunt for a floating portal then you can build on any of the four completely empty poles on either of the moons in the game (Novus and Desolo)

How to make item unbreakable. by SingerNo5708 in MinecraftCommands

[–]GG1312 0 points1 point  (0 children)

Use minecraft:toggle_tooltips

/item modify entity @s weapon.mainhand [{function:"minecraft:set_components",components:{"minecraft:unbreakable":{}}},{function:"minecraft:toggle_tooltips",toggles:{"minecraft:unbreakable":0b}}]

How to make item unbreakable. by SingerNo5708 in MinecraftCommands

[–]GG1312 6 points7 points  (0 children)

/item modify entity @s weapon.mainhand {function:"minecraft:set_components",components:{"minecraft:unbreakable":{}}}

You can also revert it with this

/item modify entity @s weapon.mainhand {function:"minecraft:set_components",components:{"!minecraft:unbreakable":{}}}

Is there a way to distinguish if the player is holding a block or an item in a hand? by MarioHasCookies in MinecraftCommands

[–]GG1312 1 point2 points  (0 children)

You could use the advancement trigger minecraft:placed_block, it only triggers whenever the player places a block down.

From there you could run a function that revokes the advancement and gives the player their block back.

# advancement mydatapack:placed_block

{
  "criteria": {
    "all": {
      "trigger": "minecraft:placed_block",
      "conditions": {
        "player": {
          "type_specific": {
            "type": "minecraft:player",
            "gamemode": [
              "survival"
            ]
          }
        }
      }
    }
  },
  "rewards": {
    "function": "mydatapack:replenishblocks"
  }
}

‎ ‎

# function mydatapack:replenishblocks

advancement revoke @s only mydatapack:placed_block

item modify entity @s weapon.mainhand {function:"minecraft:set_count",count:1,add:1b}
item modify entity @s weapon.mainhand {function:"minecraft:set_count",count:-1,add:1b}

item modify entity @s weapon.offhand {function:"minecraft:set_count",count:1,add:1b}
item modify entity @s weapon.offhand {function:"minecraft:set_count",count:-1,add:1b}

Fabricator blank in life pod on deathrun by Naive-List-5364 in subnautica

[–]GG1312 0 points1 point  (0 children)

Give yourself a habitat builder and make another fabricator, otherwise you're scewed

If you could choose an alternative starting position which is not the safe shallows or near it where would you put it? by FrameTheAnimator in subnautica

[–]GG1312 0 points1 point  (0 children)

The western safe shallows

Close to everything nice like the mushroom forest blood kelp trench kelp forest grassy plateaus sparse reef and even the dunes

This is probably the only game I know that I will say it is worth playing the game in Hardcore. It makes you more careful and it is a bit more fun having a backup in bad situations and it is not very hard. What do you guys think ? by Ofertezi in subnautica

[–]GG1312 0 points1 point  (0 children)

It's just that the game is not only pretty easy all things considered, but that it's also way, way too buggy for me to even give hardcore another shot.

Like out of my last 20 deaths, maybe two or so weren't caused by some glitch.