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

crackedEgg

Members
  • Posts

    60
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

Recent Profile Visitors

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

crackedEgg's Achievements

Stone Miner

Stone Miner (3/8)

20

Reputation

  1. Same here, had a working project, updated to 32.2.5 and got the same error message.
  2. It looks like the bees have a list of flowers that they are attracted to in the TemptGoal. That list is a tag in /data/minecraft/tags/blocks/small_flowers.json or the /data/minecraft/tags/blocks/tall_flowers.json directories. You should be able to add to those tags.
  3. All of the minecraft .png files are in the assets directory of the minecraft jar. just extract that and have a look. this includes all items that would appear in an inventory and also the inventory container gui. It seems like that's what you want.
  4. I have a parachute mod that works as expected in singleplayer. The mod also seems to work as expected in multiplayer for the individual player on the parachute. However it seems other players are not receiving position or motion updates from the server. While the player(s) on the parachute experience the parachute acting normally and can maneuver just fine the other players see the player on the parachute as drifting slowly to the ground. I don't know how to update the other players or tell the server to update the other players. Any help would be appreciated. Here is a link to the entity class. ParachuteEntity.java
  5. Thanks! Now my parachute spawns and I can mount it. I can't control it though, still working on that.
  6. I think something may be missing in the forge registry/spawn code. I have an entity that is mountable and I get a [minecraft/ClientPlayNetHandler]: Received passengers for unknown entity warning in the console. The entity is not visible and cannot be controlled. So you're not the only one experiencing this type of issue.
  7. I can't find where BlockEvent.PlaceEvent is used in forge code. rg BlockEvent.PlaceEvent minecraftforge/event/ForgeEventFactory.java 125:import net.minecraftforge.event.world.BlockEvent.PlaceEvent; minecraftforge/common/ForgeHooks.java 635: BlockEvent.PlaceEvent placeEvent = null; Only two places in forge code that this shows up. That may be why its not firing.
  8. Using both your suggestions I got spawning working. It looks like I needed an EntitySpawnPlacement as well. I didn't see any spawns until I added the placement. Thanks for all your help! private void registerEntitySpawn(EntityType<? extends EntityLiving> type, Biome[] biomes, int spawnProb, int minSpawn, int maxSpawn) { EntitySpawnPlacementRegistry.register(type, EntitySpawnPlacementRegistry.SpawnPlacementType.ON_GROUND, Heightmap.Type.MOTION_BLOCKING_NO_LEAVES, null); for (Biome bgb : biomes) { Biome biome = ForgeRegistries.BIOMES.getValue(bgb.getRegistryName()); if (biome != null) { biome.getSpawns(EnumCreatureType.MONSTER).clear(); biome.getSpawns(EnumCreatureType.MONSTER).add(new Biome.SpawnListEntry(type, spawnProb, minSpawn, maxSpawn)); } } }
  9. I'm trying to spawn mobs in specific biomes. I noticed addSpawn method is protected in Biome class and there doesn't seem to be a forge registry for this. Is there another way to do this in 1.13.x or am I missing something?
  10. you can look at this code I use to steer the parachute and adopt it to steer the boat EntityParachute.java ParachuteInputEvent.java
  11. Sorry, I am not asking for help. Just trying to back up what TheJ-max04 is saying. The logger appears to be broken for deobfuscated environments like Eclipse or Intellij. And I'm out....
  12. I've been using LogManager.getLogger() all along. This doesn't work any longer. I recently changed to using event.getModLog() in FMLPreInitialzationEvent per the documentation in the FMLPreInitializationEvent class. This doesn't work in 2768 but does work in 2705.
  13. This happens in Intellij as well. The logging works in forge 2705 and does not work in 2768.
  14. You might try checking which java version the OS has set. If you are using Ubuntu/Fedora/Debian you would use "update-alternatives" to check/set the java version. Archlinux you would use archlinux-java command to check/set the java version. Also I use OpenJDK and have no issues. I used to have and issue now and then early on, but so far its been as stable as the Oracle version.
  15. MathHelper.wrapDegrees wraps from -180 to +180 degrees. That may be what he needs here, but the getInt() part threw me off since the angles are ARGUMENT_ROTX_MIN and 0 (zero). Falina-Lain: if you look at the clamp methods you can see that you can specify the values to clamp to. final int pitchMin = MathHelper.clamp(argumentMap, ARGUMENT_ROTX_MIN, 0); I think that would work for you, if you need to clamp between zero and ARGUMENT_ROTX_MIN.
×
×
  • Create New...

Important Information

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