Jump to content

Animefan8888

Forge Modder
  • Posts

    6157
  • Joined

  • Last visited

  • Days Won

    59

Everything posted by Animefan8888

  1. Since you have overriden the Blocks you can actually just use the RedstoneParticleData that's already there. The constructor parameters are RGBA 0.0-1.0
  2. No if your override the registry it will be yours that are placed. Also you won't need to register your own ItemBlocks.
  3. I need to see more of your code. Preferably as a github repo.
  4. This is correct. Post the error.
  5. Yes and you will need to make a class for each of them that extends their current class and only overrides the methods that spawn the particles.
  6. Interesting I guess particles don't really support being overriden. Which is not really friendly to you. The only other way I see this as being possible is to override all of the redstone blocks and changing what particle they spawn.
  7. The tags are stored automatically in the ItemStack you should be able to just call ItemStack::getOrCreateTag
  8. Can you show a screenshot of two of what you have/mean? In general you should cancel the original and render your own only when the experience bar shouldn't be rendered to reduce some rendering calls.
  9. First don't use event.getType() == ElementType.TEXT use ElementType.EXPERIENCE. Then use event.setCanceled(true). Then you will have to render the level and the bar.
  10. I don't see anything wrong with this line except you are not giving it a registry name.
  11. .setRegistryName(modid, registryName) or setRegistryName("modid:registryName") or setRegistryName(new ResourceLocation(modid, registryName)) or setRegistryName(new ResourceLocation(modid:registryName)) where modid is "minecraft"
  12. If it works like other registries you just need to register your own ParticleType with the same registry name as the Minecraft one. So something like "minecraft:redstone_particle_data"
  13. You need to create and register an EntityType<T extends Entity> now in order to make an Entity.
  14. Does the pause screen come up when you minimize Minecraft if so just use the F3 settings to turn off pause opening when Minecraft loses focus.
  15. Minecraft uses a single AABB as collision boxes for a single Entity. I suppose you could do a calculation inside Entity::getCollisionBox based on the entity it is asking about. Like return the closest AABB to the entity passed in. Or definitely do what Alpvax said and check out the EnderDragon code.
  16. No hotloading and disabling mods has not been implemented(yet).
  17. I think the only way to do this is to override the ParticleType registry for RedstoneParticleData.
  18. Optifine probably does exactly what I said, but instead uses a file to determine the colors instead of raw code.
  19. The only thing I can find which could be causing this error is this. You are not allowed to have an resources with capital letters.
  20. You didnt post a link to your github.
  21. Just the rendering has to be client side only. Many things you want to animate in sync for players right? The only way to do that is by using the server to control the animation.
  22. No you need to use the instance you already registered.
×
×
  • Create New...

Important Information

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