Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

ryan_zhou

Members
  • Content Count

    20
  • Joined

  • Last visited

Community Reputation

0 Neutral

About ryan_zhou

  • Rank
    Tree Puncher

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. sorry, my fault ,I won't be posting outdated supports in the future.
  2. Forge updates too fast sponge and mod writers can't keep up....
  3. I wanted to show a 2d texture in hotbar and a 3d model in my hand. But ```IFlexibleBakedModel``` and ```IPerspectiveAwareModel``` has been removed from 1.12.2. What should I do? The same needs as : https://www.minecraftforge.net/forum/topic/37633-189-different-item-model-for-inventoryheld-in-hand/
  4. I want the dragon to go from one point to another, and the distance between the two points is probably 1000 block, But I'm breaking it down into moves of only 20 block at a time. I tried ```dragon.getNavigator().tryMoveToXYZ()```, it's always return false, even though it's only 20 blocks away. so i figured out EntityDragon override ```onLivingUpdate()``` completely. So PathNavigator.update() cannot be called. It might about the ```Phase```, It's a little difficult. I don't know what to do. I'd appreciate it if anyone could help me!!!
  5. sorry to bumping, just want to know if i click yes what will happen
  6. For the same reason, green nicknames don't have enough contrast if the light is too bright
  7. How did you solve this problem ? This does not seem to be resolved by setting timeouts
  8. Too much mob generation, include villager, skeleton, zombie,creeper, and villager register by mod. My server is Forge1.12.2, Sponge7.1.5 Is there any problem if I register a villager like this? Other than here, I can't think what the problem is. ``` @SubscribeEvent public void registerModel(RegistryEvent.Register<EntityEntry> event) { // event.getRegistry().register(); List<Biome> values = ForgeRegistries.BIOMES.getValues(); EntityRegistry.addSpawn(EntityVillager2.class, 1, 1, 1, EnumCreatureType.CREATURE, values.toArray(new Biome[values.size()])); } ```
  9. I want to rotate some group of obj, how to do that? I'm using Forge's ObjLoader, is that possible?
  10. That's toooo much code need copy and i don't know if it work fine, Anyway, worth a try, thank you very much!
  11. Now i have some idea is: 1. setvelocity 2. imitate wasd packet - above all not good idea,navigate will be very hard 3.let player ride a entityLiving that losing control of the player. But what I want most is for the player to move around
  12. I know EntityLiving have NavigatorHelper and MoveHelper, but EntityLivingBase not, Is a way to move player smothly to a location automatic like WASD?
  13. I'm making a moba-like game where you click on the ground to find your way, now i am ungrabed the Mouse Cursor, but i don't know how to get the block pos under cursor. Can someone insprie me? The reutrn of unproject is wrong, i don't know how to get correct value. ``` GL11.glGetFloat(GL11.GL_MODELVIEW_MATRIX, model); GL11.glGetFloat(GL11.GL_PROJECTION_MATRIX, projection); GL11.glGetInteger(GL11.GL_VIEWPORT, viewport); if (GLU.gluUnProject(mouseX, mouseY, 1, model, projection, viewport, posFar)) { if (GLU.gluUnProject(mouseX, mouseY, 0, model, projection,
  14. env: proxy: waterfall forge: 1.12.2 2768 spongeforge: 1.12.2 2768-7.15 java.lang.ClassCastException: net.minecraftforge.fml.common.network.handshake.FMLHandshakeMessage$ServerHello cannot be cast to net.minecraftforge.fml.common.network.handshake.FMLHandshakeMessage$RegistryData Sometimes error when i use waterfall channel message connect player to another server. i submitted issue at Waterfall's github, but he say not interest in dealing with this issue. And i was commented all channel message send code. it's happed too. I try to use Velocity(an
  15. I'm looking a way to register new villager and trade, but VillagerRegister#reigster is private method, anyone can help me ? Thank you!
×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.