-
Custom Structure Spawn Conditions 1.14.4
and how would i save that chunkPos so that it only ever spawns once(even when reloading the game) sorry for the questions im really confused
-
Custom Structure Spawn Conditions 1.14.4
how would i get a random chunkpos from the world seed?
-
Custom Structure Spawn Conditions 1.14.4
but my structure's size is several chunks, is your method still valid?
-
Custom Structure Spawn Conditions 1.14.4
So after alot of messing around and trying random stuff I was able to get my structure to work. my problem is that i want the structure to only spawn once per world. I did that in 1.12.2 by using worldsaveddata but i cant do that here because the generate structure methods runs in every chunk and not for the whole structure. I tried looking at how the stronghold does it but i didn't really understand it. basically my question is how can I limit my structure spawning to x amount of times. if you need it:
-
projectile wont render-1.14.4
Yeah I tested it and it seems that the entity doesn't spawn on client. Even after doing what you said and I also added a customClientFactory but it's still null on client side
-
projectile wont render-1.14.4
It seems that the entity itself is never present. I checked the loop and the projectile entity never appears. It can't be the registration of the entity since i can summon the entity.
-
projectile wont render-1.14.4
if i put a breakpoint there it'll stop the game every tick so I can't really debug that way and I'm not quite sure what to do since I'm not used to the debugger.
- projectile wont render-1.14.4
-
projectile wont render-1.14.4
So, I've dealt with this error before back in 1.12.2 where the projectile would shoot and hit the entity but it'd be invisible. the fix i used in 1.12.2 doesn't seem to be the problem this time. I'm trying to make a custom projectile that shoots and im using a custom renderer but the doRender method never actually runs. this is my item class: https://github.com/izako666/HunterX/blob/1.14.4/main/java/com/izako/hunterx/items/YoyoItem.java this is my entity class: https://github.com/izako666/HunterX/blob/1.14.4/main/java/com/izako/hunterx/items/entities/YoyoEntity.java this is my render class: https://github.com/izako666/HunterX/blob/1.14.4/main/java/com/izako/hunterx/items/renderers/YoyoRenderer.java this is where i register my renderer: https://github.com/izako666/HunterX/blob/1.14.4/main/java/com/izako/hunterx/registerers/ClientSideRegistry.java and that method gets called here: https://github.com/izako666/HunterX/blob/1.14.4/main/java/com/izako/hunterx/Main.java here i register my entity: https://github.com/izako666/HunterX/blob/1.14.4/main/java/com/izako/hunterx/registerers/ModEventSubscriber.java I used the debugger and all registry code does run, i also checked doRender in the renderer class but doRender didn't work
-
WorldSavedData doesn't save [FIXED] 1.12.2
So basically @diesieben07 fix actually worked. it was just that I was looking in the wrong files to find the .dat files + i had a command to get the pos of the build and my get command was not working as intended so i just thought the data reset (my bad). here's the updated class for whoever needs it: https://pastebin.com/Ex4ipDRW
-
WorldSavedData doesn't save [FIXED] 1.12.2
No like i said the dat file doesn't get created, and thus it doesn't get modified either.
-
WorldSavedData doesn't save [FIXED] 1.12.2
I tried your fixes, sadly still doesn't work and the dat file still doesn't exist updated data class https://pastebin.com/7JeYbuNn
-
WorldSavedData doesn't save [FIXED] 1.12.2
Hello, So I'm making a world data class to check how many structures ive spawned in the world and everything works fine but it resets when i leave the world and i checked, and there is no dat file in world nbt. this is my data class https://pastebin.com/E8EdD1sZ and this is the generation class that i implement with https://pastebin.com/VNcgRiPu
-
Capability values get reset?(1.12.2)
i have reset the value to get the capability of the player which is initially 0, would that work? I haven't tried it online yet
-
Capability values get reset?(1.12.2)
I didn't think that would make it reset, its weird I didn't think of that tbh but thanks it works now
IPS spam blocked by CleanTalk.