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

Tschipp

Forge Modder
  • Content Count

    306
  • Joined

  • Last visited

Community Reputation

3 Neutral

About Tschipp

  • Rank
    Diamond Finder

Converted

  • Gender
    Male
  • Personal Text
    I am new!

Recent Profile Visitors

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

  1. I'm trying to add my own "data type" to datapacks. The data is a simple json file that I use for various things. Since datapacks were introduced and they can sync from the server to the client, I would like to leverage that system for my purposes. Is such a thing possible? I used to just have a folder in the minecraft root directory and read my files from there, but obviously that caused issues when playing on a server without/with different files.
  2. Oh crap, this is gonna get locked because 1.12 isn't supported, isn't it? Well, if anyone sees this and knows the answer, I'd also appreciate a PM
  3. I feel like an idiot asking such a mundane question, especially since I've done it countless times before, but maybe I'm just blind and someone here can help me out. I made and registred models (and textures) for my items, but only one texture shows up on one item, and it's even the wrong texture: The items are all new instances of the same Class, but I don't see how that would cause a problem. The Item registration: public static Item tier1; public static Item tier2; public static Item tier3; public static Item tier4; public static Item tier5; private static L
  4. Yeah, after a few hours of stepping through the debugger I noticed that too... How does the client then acquire an updated version of entities from the server? Is it a packet? (Probably) Do you see any other solution for my problem?
  5. I have a contraption that renders static entities, meaning the entities don't exist in the world. The entity NBT must be read before the render to conserve information such as sheep color or entity age. This used to work fine for all cases in 1.12, but I'm having trouble with Villagers and Foxes. I'll illustrate my issue for foxes: First, I call IForgeEntity#deserializeNBT. That then calls Entity#read, which eventually calls Entity#readAdditional. For foxes, that method then calls a method of FoxEntity called "func_213501_ej". That functi
  6. Minuthemodder was actually right, the reason it was dark was that the block was set to not opaque. Thanks!
  7. I'm trying to render a regular block model inside a TESR. This is my code: @Override public void render(TileEntityRegeneratingOre te, double x, double y, double z, float partialTicks, int destroyStage, float alpha) { IBlockState ore = te.getOre(); Minecraft.getMinecraft().renderEngine.bindTexture(TextureMap.LOCATION_BLOCKS_TEXTURE); BlockRendererDispatcher renderer = Minecraft.getMinecraft().getBlockRendererDispatcher(); GlStateManager.pushMatrix(); GlStateManager.translate(x, y, z); GlStateManager.rotate(-90, 0, 1, 0); renderer.renderBlockBrightness(te.getOre(),
  8. I'm updating my mod to 1.14 and I noticed that all events that subscribe to PlayerInteractEvent.RightClickBlock don't fire anymore. They are registred correctly, other events in the class also fire. When looking at the call hierarchy of ForgeHooks.onRightClickBlock, I saw that it wasn't being called anywhere within the game code. What am I missing?
  9. When I was updating to 1.14.4, I noticed that when I render something relative to the player using GL, it seems that the renderer is no longer positioned on the player by default, but on the camera. This is especially obvious when switching to f5, as I can then see the things that are normally being rendered relative to the player being rendered relative to the camera. Has anyone else experienced this? Is there a way to get the camera position?
  10. I noticed OpenGlHelper was removed in 1.14.4. Does anyone know what it was replaced with/renamed to?
  11. Ah yes, didn't see that because I went off a LivingEntity and not MobEntity
  12. I tried to get the ambient sound from entities, but getAmbientSound and other sound related methods are protected in 1.14.4? How do I do this now? (apart from reflection)
×
×
  • Create New...

Important Information

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