-
Posts
1160 -
Joined
-
Days Won
7
poopoodice last won the day on May 12 2021
poopoodice had the most liked content!
Recent Profile Visitors
178428 profile views
poopoodice's Achievements
![Rank: World Shaper (7/8) World Shaper](https://forums.minecraftforge.net/uploads/set_resources_2/84c1e40ea0e759e3f1505eb1788ddf3c_default_rank.png)
World Shaper (7/8)
145
Reputation
-
For entities to do "AI tick logic". e.g. movements not called when it is no longer "alive"
-
Was curious more on the custom server i/o (without using resource packs), and the image transfer since the image will be way larger than a map does. In fact I just realised that some of the images are around 4~5 MB... probably not a good idea to transfer them then... sorry for bothering and thanks for the help.
-
I'm honestly not sure how Vanilla handle that with potion, but maybe try register your own ItemColors, then you can give different tint index to the different cubes, or more specifically, faces. Those values will be given when asking you to calculate your own colour. For example, I have north tint index 3, south index 2, then I will have something like: return tintIndex == 2 ? red : blue; or something like that, depends on what you want
-
There is writeToNBT and readFromNBT?
-
You should be passing your own menu type into super
-
TE = Tile Entity, or Block Entity in recent versions. I believe you need one for yourself (both MenuType and BlockEntityType) since certain TE/BEs only allows certain blocks (e.g. Vanilla Furnace TE/BE does not work on a custom furnace). It's also better to post your TE/BE and Menu class along with where and how you register your custom types.
-
I can find it in both latest 1.18 and 1.19 Forge version, right below the reach distance.
-
The warning means the block and the TE does not match, where and how do you register your TE? Is your block added to the list when constructing your TE?
-
poopoodice changed their profile photo
-
I don't know what a TickHandler is, but you can store the stack in the tile entity, after a duration (maybe just an int field increment every tick), and spawn after time expires. Check BlockEntityTicker, or ITickableTileEntity in older versions (1.16/1.18? I can't remember.)