-
Recently Browsing
No registered users viewing this page.
-
Posts
-
By Frozen Storm · Posted
I've looked at FishingPredicate, but both the documentation and the class definition I found with ctrl+click in Eclipse have some very confusing field and function names, so I'm having a little trouble with how I'm supposed to use it. I've found a (somewhat old) post that explains briefly how Predicates work (although looking at the docs of other predicates, it seems the apply method has been renamed to test), but I'm not sure how I'm supposed to initialise FishingPredicate (or otherwise obtain it from the player/water block/fishing rod/...). -
I found a mod called Xaero's Minimap which can store waypoints per world. Do you know how can it recognise the server worlds or it uses a custom method?
-
i just looked at it but is this not controlled by method propagatesSkylightDown beacause: and it dosent work. @Deprecated public int getOpacity(BlockState state, IBlockReader worldIn, BlockPos pos) { if (state.isOpaqueCube(worldIn, pos)) { return worldIn.getMaxLightLevel(); } else { return state.propagatesSkylightDown(worldIn, pos) ? 0 : 1; } } this is currently my block class: https://github.com/Luis-st/Forge-1.16.5-36.0.1-mdk/blob/main/forge-1.16.5-36.0.1-mdk/src/main/java/net/luis/cave/blocks/TintedGlass.java
-
By diesieben07 · Posted
Then the server doesn't send the hashed seed. You can use the server IP, I guess. ClientPlayerNetworkEvent.LoggedInEvent woudl be a much better choice here. Do not use getPrivateValue. Use findField and store the Field in a static final field.
-
-
Topics
-
Who's Online (See full list)