Bug about custom liquid

Started by SkylieTuff on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 22:41, 16. Oct 2023
Joined Mar 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Bug about custom liquid

So I did open something up in the bug but on waiting, I was wanting as work around. 

So curious how you guys would acheive in 1.7.8 to make customizable liquids as easy as possible. 

 

Here was my methon

 

Make Liquid = check

Make Custom Item Bucket Fulled = Check

IIPH = Item in players hand 

CIIYI = Consume Item in your inventory

In Custom Item Bucket Filled, I did this

add event result
Conditon == IIPH == Full Bucket == Left Screen Stacked Event
Add Event
Condition == IIPH == Full Bucket == Left Screen Add Block j + 1 done
Add Event
Condition == block at ijk == your liquid == milk == Left Screen CIIYI == Full Bucket done
Add Event == Add item into inventory == empty bucket done

Above basically is stating that if you have item full bucket in hand, run stacked event where it detects if full bucket is in hand places your liquid down + 1, than adds another event where if that liquid is placed, consume full custom bucket in hand if it's there, and than adds empty bucket. 

Event for Empty bucket

add event result
Conditon == IIPH == Empty Bucket == Left Screen Stacked Event
Add Event
Condition == Block at (your milk) == Left Screen Remove Block done
Add Event
Condition == IIPH == bucket == add item to inventory == Full bucket done
Add Event
Condition == IIPH == Full bucket == consume item in inventory == empty bucket done
done

Above is stating when empty bucket is in hand, stack event and run condition if milk(block placed) is at that coordinate, remove block. the next one is telling it to add your custom full bucket to inventory if you have an empty bucket in your hand. then lastly sees if it had your full bucket in your hand, it removes the empty bucket. 

Now what it does in game is just plain weird. 

When in game, if you right click block w/ full bucket, it empties fluid where you want and gives you another full bucket along w/ empty bucket. It's working okay. Now when you right click the fluid w/ empty bucket in creative, it does nothing. But in survival if you right click the fluid in survival w/ empty bucket, this gets weird as it removes the block and gives you empty bucket + milk bucket. Nothing anywhere in the code stated I wanted a milk bucket, I even told it to give me the umb bucket.

 

Only thing I can think of is that you craft the bucket by placing the milk bucket into the crafting bench. 

 

Now am I just overcomplicated things all I need is to make the fluid, than mcreator does the rest, I'm so confused. Any help or workarounds would be very well appreciative. 

Last seen on 22:41, 16. Oct 2023
Joined Mar 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
lock please as it apparently…
Thu, 03/22/2018 - 02:30

lock please as it apparently creates the bucket for you and didn't know that and someone has already put it on here.