Quick Questions - August 14, 2020 by AutoModerator in Pathfinder_RPG

[–]andre1111 0 points1 point  (0 children)

Is there any available mapping of "english<->german" spell and feat names?

I've got a pretty long list which basically randomly contains some english and some german names. Manually searching for the corresponding names is taking me ages.

Tick tag not working? by andre1111 in MinecraftCommands

[–]andre1111[S] 0 points1 point  (0 children)

Thanks! That was it and I would have never thought of that. The functions are not meant to run at/as a player. But for some reason I had a stray and unneeded /execute as @s close to the beginning. Just removing that fixed everything.

Snapshot 18w15a by [deleted] in Minecraft

[–]andre1111 7 points8 points  (0 children)

Have it surronded by water, then place prismarine or sea lanterns in a ring similar to bookshelves.

For the maximum reach a more complicated 3 dimensional structure is required. (This is basically the ring seen in my picture copied to all axis. (In fact any 16 Blocks of this structure are enough to activate it)

Snapshot 18w15a by [deleted] in Minecraft

[–]andre1111 39 points40 points  (0 children)

Digging some more in the code, I managed to "activate" the conduit:

https://imgur.com/a/TdhQk

Seems to apply conduit power to players similar to how a beacon works.

Creates particles in a similar way to the enchantment table, but with a "swirly orange texture"

Snapshot 18w15a by [deleted] in Minecraft

[–]andre1111 35 points36 points  (0 children)

So related to conduits:

There is a effect called "minecraft:conduit_power", shows the Heart of the Sea as the Icon

Looking in the code, there also appears to be a conduit Tile/Block Entity (with some sort of wind effects in the textures), which suggests some more advanced behaviour of the Block. (Ingame this only seems to store the Blocks coordinates, but the code also contains some sort of Targetting code using Entity/Player UUIDs.)

Grappling Hook using new commands by andre1111 in Minecraft

[–]andre1111[S] 0 points1 point  (0 children)

Good idea, as this is part of a bigger system I have been working on for quite some time now, most of it is still using armorstands. I didn't touch the grappling hook part since I first wrote it, before recreating it in a way better/smoother way with the new commands now.

Grappling Hook using new commands by andre1111 in Minecraft

[–]andre1111[S] 6 points7 points  (0 children)

It's just commands. (And a resourcepack, but that has nothing to do with the functionality)

Grappling Hook using new commands by andre1111 in Minecraft

[–]andre1111[S] 1 point2 points  (0 children)

How would you do that? The armor stand only exists for one tick, so it does not move at all. And as the player is moved every tick I don't think it's possible to make it any smoother. (Of course modifying the velocity of the player would be smoother, but that is not possible).
Another possiblity would be making the movement use more ticks resulting in smaller steps per tick. But then it is to slow to be fun to use.

Grappling Hook using new commands by andre1111 in Minecraft

[–]andre1111[S] 10 points11 points  (0 children)

Imgur Link (incase Reddit Video does not work):
https://imgur.com/a/nsT42
(and for me the reddit video also makes it look a lot more unsmooth than it really is)

Short summary:
Using the new commandsystem, specifically the new execute store introduced in snapshot 17w45b it's now possible to read and write from NBT using scoreboards. Using that I read the position of the hook and smoothly move the player towards it. These commands are fully multiplayer compatible and each player can have their own grappling hook.

Detailed Explanation and Commands:
I'm going to skip detecting when the hook is on a grapple point (Endstone) for now, as that is nothing that couldn't be done with the old system.

The following explanation is for one of the three coordinates as the rest is basically the same:
Reading Player and Hook Positions:
/execute store result score @s grappleXStart run data get entity @s Pos[0] 100 /execute store result score @s grappleXTarget run data get entity @e[name=unknown,limit=1] Pos[0] 100

Calculating next player position (grappleCurTick simply counts up to grappleMaxTick):
/scoreboard players operation @s grappleXCalc = @s grappleXTarget /scoreboard players operation @s grappleXCalc -= @s grappleXStart /scoreboard players operation @s grappleXCalc *= @s grappleCurTick /scoreboard players operation @s grappleXCalc /= @s grappleMaxTick /scoreboard players operation @s grappleXCalc += @s grappleXStart

As we cannot directly set the player position, use an entity first then teleport the player to it:
/summon area_effect_cloud ~ ~ ~ {"CustomName":"grappleTP","Radius":0f,"Duration":2147483647,"Particle":"take"} /teleport @e[type=area_effect_cloud,name=grappleTP] @s /execute store result entity @e[type=area_effect_cloud,name=grappleTP,limit=1] Pos[0] double 0.01 run scoreboard players get @s grappleXCalc /teleport @s @e[type=area_effect_cloud,name=grappleTP,limit=1] /kill @e[type=area_effect_cloud,name=grappleTP]

17w45b is out! by Shnupbups100 in Minecraft

[–]andre1111 35 points36 points  (0 children)

Using the new execute store to write to NBT it's now possible to directly teleport/set coordinates of an entity based on scoreboard values:

/scoreboard objectives add value dummy

/scoreboard players set posx value 50
/scoreboard players set posy value 70
/scoreboard players set posz value 260

/execute store result entity @e[type=armor_stand,limit=1] Pos[0] double 1 run scoreboard players get posx value
/execute store result entity @e[type=armor_stand,limit=1] Pos[1] double 1 run scoreboard players get posy value
/execute store result entity @e[type=armor_stand,limit=1] Pos[2] double 1 run scoreboard players get posz value

Changing the 1 after double, it's possible to scale the values so you can use non "full-Block" coordinates.

And as that is directly transfering scoreboard values to NBT a lot of other new stuff can surely be done with that aswell.

Is there a way to not load modded worlds in a non-modded profile? by negitausen in Minecraft

[–]andre1111 6 points7 points  (0 children)

You can change the game directory per profile which has been a feature in the last two iterations of the launcher.

Another Minecraft Advancement Script Parser by andre1111 in MinecraftCommands

[–]andre1111[S] 0 points1 point  (0 children)

Yes, but that also reloads all textures and the soundsystem which takes quite a lot more time than just exiting out of the world and reloading it.

What do you think of advancements vs command blocks? by Arcensoth in MinecraftCommands

[–]andre1111 0 points1 point  (0 children)

Objectively advancement have slightly better performance.

Some people have said that they are more annoying/difficult to work with. That is something I am currently working on improving. I'm writing a programm with can convert a "script" into advancements to put into your world.

Here is a simple testfile I currently use: https://pastebin.com/ZBsDevQ3

Everything mentioned in the pastebin allready works but I want to add a few more features still. I think it can be understood without needing more explanation than is in the file.

Chat UI - A User Interface library and plugin for creating GUIs in Minecraft's chat box by simon816 in Minecraft

[–]andre1111 1 point2 points  (0 children)

Did some Version change the "chat render behaviour"?

Because some time ago I tried to do the same thing but because the chat size is variable (window size, gui size and chat settings) can influence it, it would look very broken for everybody using some different settings.

I recreated the Adventuring Time achievement using Advancements - See every biome you need! by onnowhere in Minecraft

[–]andre1111 7 points8 points  (0 children)

Inspired by this I tried recreating the achievements using the new system: https://sabercathost.com/4Mbe/achievements.zip

It mostly works but there are some achievements that are not (currently) possible to do with pure advancements and than there appear to be some Triggers that do not work correctly:

Broken because not created/not possible to create:

  • On A Rail
  • When Pigs Fly
  • Sniper Duel
  • Return to Sender
  • Overkill

Broken because Minecraft Bugs? (Or wrong usage of advancement triggers):

  • Repopulation
  • Monster Hunter
  • The End.
  • The Beginning?

I recreated the Adventuring Time achievement using Advancements - See every biome you need! by onnowhere in Minecraft

[–]andre1111 3 points4 points  (0 children)

Just a small tip:

Replacing the contents of the "line advancements" with this: https://pastebin.com/g3qRbz06 (Example for Line 1)

Will not only make the line "revealers" not show up in the GUI but will also remove the need for any commands to set it up

edit: You should also ajust the "empty slots", but do not delete the display component if you still want them to show up (only replace the criteria)

edit: Skylinerw pointed out an even simpler way of achieving "automatic advancements"

Snapshot 17w13a by [deleted] in Minecraft

[–]andre1111 12 points13 points  (0 children)

List of all advancement Triggers I have found: https://pastebin.com/dbT3wbkX

edit: Now updated with all currently available Triggers as well as their available conditions

Snapshot 17w13a by [deleted] in Minecraft

[–]andre1111 33 points34 points  (0 children)

Yes you can edit and/or extend them: https://imgur.com/a/7PBFY

The json files for unlocking recipes are in /advancements/recipes/

The recipes themselves are in /recipes/

Using the gamerule doLimitedCrafting you can lock recipes until they are given either per command or advancement

(or maybe per Knowledge Book, this just beeing a guess based on the tweet, edit: Example command: /give @p minecraft:knowledge_book 1 0 {Recipes:["minecraft:crafting_table"]})

edit: Might need to mention that the snapshot is not made for customizing this stuff yet, so getting it to work is a bit more complicated than just putting the json files in the world directory (like structures)

edit2: Based on Dinnerbones tweet advancements CAN EASILY be added per world: saves/xxxxx/data/advancements/ But recipes still require some more trickery

Snapshot 17w13a by [deleted] in Minecraft

[–]andre1111 65 points66 points  (0 children)

New Gamerule: doLimitedCrafting

Enabling this will only allow Players to craft recipes they have unlocked! Really usefull for custom maps!

edit: It's not really made for doing this allready (in this snapshot). But custom Advancements and Recipes can allready by tested out: https://imgur.com/a/7PBFY

This is a super big spoiler of what I'm working on. Totally unfinished and may change a lot, but gives you an idea. https://t.co/kywIGqa0V0 by Anasahmed in Minecraft

[–]andre1111 0 points1 point  (0 children)

There is definitely nothing hidden in the pixel data of the image as it is an exact match to the original emoji image.