Started by
Skill3r128
on
Topic category: General discussion
Hi,
I was wondering why it was impossible to do a procedure:
If: [is (block here) = (stone) or (dirt)]
but only:
if: [is (block here) = (stone)]
or: [is (block here) = (dirt)]
Doesn't it slow down the game to always look for the block at xyz when you can keep xyz in memory if you have 10 blocks that you want to choose without wanting to make a useful tag in a single situation?
Sorry if this is in the wrong place I just wanted to know and no other forum seems correct
You can use tags instead
you don't answer the question because I'm asking why. Not how to do it differently.
I have another question that is blowing my mind. since Mcreator has not added the functionality on the shield to take damage (especially in connection with unbreaking) I cannot do that:
(for main or off hand the same)
If MainHandItem(MHI) = CustomShield
->If MHI have unbreaking
-->If (Rnd 0,1) < 1/ UnbreakingLvl +1 #ex MHI U1: if [rnd < 0.5]
--->Deal 1 damage to MHI
Else Deal 1 damage to MHI #If not unbreaking
i use puzzle not code.
Actually if unbreaking is not on it it takes durability, but if the object has unbreaking nothing happens.
i can't understand the problem.