Jump to content

Cadiboo

Members
  • Posts

    3624
  • Joined

  • Last visited

  • Days Won

    58

Everything posted by Cadiboo

  1. A coremod that messes with time, light or entities probably. Serene seasons would be my prime suspect
  2. You can use World#setBlockState to place the 2nd block, and just have your 2nd block have an empty model with the particle texture being the same as your 1st blocks model.
  3. https://github.com/octarine-noise/simpledeobf/blob/master/README.md
  4. Why not just use a HashSet? Also there’s probably a better event for what you want (like the chunk decorate event)
  5. The name of the class is in the format ASMEventHandler_ID_callbackClassSimpleName_callbackMethodName_eventSimpleName. I’m using “ExampleClientSubscriber#onModelBake(ModelBakeEvent)” as the callback for the for the example instance event subscriber and “ExampleClientSubscriber.onModelBake(ModelBakeEvent)” as the example callback for the static event subscriber. I’m also assuming the ID is 0. The generated class looks like 1) Instance Event Subscriber package net.minecraftforge.eventbus: public class ASMEventHandler_0_ExampleClientSubscriber_onModelBake_ModelBakeEvent extends Object implements IEventListener { public Object instance; //this could be made final public ASMEventHandler_0_ExampleClientSubscriber_onModelBake_ModelBakeEvent(Object unnamedParameter) { super(); this.instance = unnamedParameter; } @Override //Obviously @Override isn’t actually inserted, I put it here for clarity public void invoke(Event unnamedParameter) { this.instance.onModelBake((ModelBakeEvent) unnamedParameter); } } 2) Static Event Subscriber (the event parameter isn’t named, but I can’t edit the code block because I’m on mobile) package net.minecraftforge.eventbus; public class ASMEventHandler_0_ExampleClientSubscriber_onModelBake_ModelBakeEvent extends Object implements IEventListener { public ASMEventHandler_0_ExampleClientSubscriber_onModelBake_ModelBakeEvent() { super(); } @Override //Obviously @Override isn’t actually inserted, I put it here for clarity public void invoke(Event event) { // there seems to be an ALOAD 0 here that should only be in the non-static event subscriber? Doesn’t really effect anything though. ExampleClientSubscriber.onModelBake((ModelBakeEvent) event); } }
  6. It makes an IEventListener that calls an arbitrary method (specifically one marked with @SubscribeEvent) when invoked. This allows events to be piped to event handlers without caring what those event handlers are. The call hierarchy is EventBus.post -> IEventListener.invoke (a ASMEventHandler) -> IEventListener.invoke (ASMEventHandler.handler) -> @SubscribeEvent method
  7. Do you want to know what the code does (what the ASM code does and compiles to) or what it is useful for (why it exists)?
  8. I would delete my Forge configs and then retry if I were you
  9. 1) download the forge installer from the official forge website 2) run the forge installer 3) select the forge profile/create a new profile with Forge as the version 4) launch this profile (play the game) if you have issues at step 1 with chrome blocking the download If you have problems with step 2 with not being able to run the installer as a java application If you have problems with step 3 and aren’t able to see any forge version then post your logs from the installer (the installer logs are generated in the same folder and the installer) If you have problems with step 4 and can’t play minecraft, post your debug.log (or latest.log if you don’t have a debug.log) as described in my signature and the EAQ.
  10. This is a vanilla server, not a forge one.
  11. You should have a log that looks like that though
  12. That log looks fine to me
  13. Please post your debug.log If it’s too big for these forums please use a service like Pastebin or GitHub Gist
  14. Please post your logs as described in my signature and the EAQ, and your computer specs.
  15. A lot has changed in general, but nothing has changed with sounds.
  16. I was thinking of only updating the data on the logical client which obviously wouldn’t work well
  17. The installer creates its log in the same folder as the installer
  18. The game crashes at “updateTimeLightAndEntities”, it’s likely a coremod causing issues
  19. I would check dynamic lights because the affected code has to do with lighting
  20. Universally disabling mods was never implemented in 1.12.2 and lower, and it was completely removed in 1.13.2 (mods that would have used it will now have a disable/enable switch in their config.
  21. No, it doesn’t exist anywhere because you’re using .obj not .json
  22. This is continued from discord. @The Box is trying to make a multiplayer-compatible camera mod. I said that this was because the code was being run on the server thread, and that I couldn’t think of a way to do what they wanted, so they should ask on the forums. The easiest solution would to just run everything on the client, but this will cause desyncs even in singleplayer.
  23. It isn’t completely stable, but it’s nearly done and it’s already so much better than 1.12.2 and below
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.