AlephInfinity1 / ForgeBlock

A recreation of Hypixel SkyBlock using Minecraft Forge. Credits to Hypixel for the original game. (Heavily WIP, do not download) NOTE: THIS IS NOT A HELPER MOD, PLEASE DO NOT PLAY ON HYPIXEL WITH THIS MOD INSTALLED
Creative Commons Zero v1.0 Universal
8 stars 3 forks source link

[Bug & Question] Error & Model #6

Closed Si1kn closed 3 years ago

Si1kn commented 3 years ago

Hi again, the error "onPlayerKillEntityExp" is nulling, and I got the fix, heres the code : if (event.getAttackingPlayer() instanceof PlayerEntity) { PlayerEntity player = event.getAttackingPlayer(); player.giveExperiencePoints(event.getDroppedExperience()); } , It was because if it wasn't a player, it would just crash as mobs can't take xp. I have started making minions and most of the logic is done. But I don't have a model. If you could (you don't need to) make a quick model that doesn't do anything. Thanks Si1kn

AlephInfinity1 commented 3 years ago

Thanks for the fix, will look into them when I can! Also as for models I'll do them ASAP, but I'm kinda busy with school atm so I might only be able to work on them on the weekends. Hope that's okay

Si1kn commented 3 years ago

Hey its no problem, I have a model from blockbench created, just don't know how to turn them in to entities.