Giter Club home page Giter Club logo

blockrenderer's Introduction

Hi, I'm unascribed, or Una. I've been modding Minecraft for 11 (nearly 12) years. It's horrifying. When I'm not doing that, I run various services and develop various (mostly game-adjacent) software.

Check out my personal website for more.

I mostly use my Forgejo these days. I use GitHub to contribute to others' projects and to ease discovery/contribution for community-focused projects.

Noteworthy projects that are hosted here on GitHub, since pinned repositories suck:

  • AsyncSimpleLog - A fast, small, and useful logger implementation for SLF4j.
  • FlexVer - A SemVer-compatible intuitive comparator for free-form versioning strings as seen in the wild, designed to sort versions like people do.
  • SymbolicControllerDB - The SDL controller DB is how controllers behave. What if we had a database of how they look?
  • Jortage - A project to lighten the load of fediverse instances via shared infrastructure.

Noteworthy projects that are mirrored here, but are primarily on Forgejo:

  • NilLoader - The universally-compatible ultra-light mod loader.
  • Ears - Faithful fancy fashion features for fuzzy folk.
  • Partyflow - A self-hosted media transcoding service and release manager styled around Bandcamp.
  • unbted - Una's NBT Editor - an advanced interactive command-line NBT editor

Noteworthy stuff I helped with:

blockrenderer's People

Contributors

modmuss50 avatar pupnewfster avatar unascribed avatar xbony2 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

blockrenderer's Issues

KeyBinding registered at wrong time - kills dev workspaces

Hi there - just a heads up;
You're currently registering your keybinds in the constructor of ClientRenderHandler, as seen here:

This is somewhat ok, but it breaks development environments which contain your mod, and it shouldn't be done there anyway.
This happens because some dev runtimes don't actually let Minecraft assign an instance (such as datagen), which causes this line to NPE because it's being called when it shouldn't be.

Can you move this to FMLClientSetupEvent, where it should be?

I'd do a PR but I'm not able to do so currently due to being away from my main dev setup

Unmark as experimental

On CurseForge, please unmark this project as experimental. Also, 1.10- there's nothing you have to do I believe, other than change the version number.

Ability to render mobs.

This is the feature that will complete the mod. We have these nice block renders for wikis but mob pages are lacking nice renders. This will even help the vanilla wiki because the new 1.11 mobs are lacking good renders as the people who made the good ones in blender have dropped off the face of the earth.

Tries to render when in chat gui

While in the chat gui, if you press the key you've set for the keybind, it will attempt to render (and fail, of course). If you set your render key to a commonly used key, like ., this can become quite annoying since it states its error message in chat.

A simple fix would be an early return in BlockRenderer#onFrameStart:

if (FMLClientHandler.instance().isGUIOpen(GuiChat.class)) {
    return;
}

1.11 "port"

As far as I know, I don't think anything needs to be changed except for the version number ^_^ thanks.

1.9?

Not to be one of those people, but do you plan to port this mod to 1.9?

Mass render does not appear to work

@pupnewfster Testing with All The Mods 1.16.4 + HuesoDeWiki + BlockRenderer. Rendering a single block/item seems fine, but CTRL + ` only dumps a single item with no GUI popping up. CMD + ` does nothing. I never remember what uses CMD and what uses CTRL but I'm guessing CMD + ` should bring up the GUI since it's the one not doing anything (in comparison, trying CTRL, ALT, or say G + ` dumps the single render).

Tried a new 1.16.4 (Forge 35.1.13) instance with literally just BlockRenderer, trying to dump vanilla. Same issue.

I'm on Mac if that matters.

Game crashes on startup when render key is set to any of the mouse buttons

This happens because Minecraft uses -100 and lower for mouse buttons and Keyboard.isKeyDown doesn't know what do as it isn't an actual key

java.lang.IndexOutOfBoundsException: -100
	at java.nio.DirectByteBuffer.get(DirectByteBuffer.java:253)
	at org.lwjgl.input.Keyboard.isKeyDown(Keyboard.java:407)
	at com.unascribed.blockrenderer.BlockRenderer.onFrameStart(BlockRenderer.java:98)
	at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_12_BlockRenderer_onFrameStart_RenderTickEvent.invoke(.dynamic)
	at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
	at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:185)
	at net.minecraftforge.fml.common.FMLCommonHandler.onRenderTickStart(FMLCommonHandler.java:350)
	at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1137)
	at net.minecraft.client.Minecraft.run(Minecraft.java:406)
	at net.minecraft.client.main.Main.main(Main.java:118)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
	at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
	at GradleStart.main(GradleStart.java:26)

1.9.4

I think about all you have to do is change the version number :P much luv from the official ftb wiki <3

Maven version can't run on 1.12.2

The maven version listed on the curseforge page requires an older version of MC:

repositories {
    maven {
        name = 'unascribed'
        url = 'http://unascribed.com/maven/releases'
    }
}
dependencies {
    deobfCompile 'com.unascribed:blockrenderer:0.3.3'
}

Will this be updated?

Thanks for this mod! :)

Duplicate names

There should be some way for BlockRenderer to deal with duplicate names in dumps- from what it appears, only the last render with a duplicate name is dumped (for example, with Immersive Engineering, the Packaged Planks are the ones dumped).

Port to new versions?

This mod seems dead, but I really hope that someone will port it to 1.13/1.14/1.15

Configurable sizes

You rejected this idea, but changing the size of each image in GregTech 17/[insert mod with many items] really isn't practical. Also, if each image takes up a bunch of space there may be a storage issue.

Ability to render structures

Currently the Minecraft Wiki uses Mineshot to render structures. But it is very hard to position yourself in the right place, and make sure the lighting is correct, and chunk culling causes problems with larger structures. It would be nice if we could render structures with this mod too.

Half Image Render in 1.8

Hello! So I love the mod concept but I'm making a wiki (in-game wiki) for a bunch of mods in a modpack I have created (minecraftuberverse.com) and I added your mod to test it out.

The issue is this: it renders all items cut in half! I'll attach the files. The 512x512 renders as nothing. the `+shift render renders cut in half. I set the GUI scale to normal and it does the same thing everytime.

I would try the latest file, but the issue is that my modpack is for 1.8 not anything newer. Do you have a solution for the 1.8 ver.?
2016-09-01_10 13 25_slimeball
2016-09-01_10 13 26_slimeball
2016-09-01_10 14 40_book
2016-09-01_10 14 41_book

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.