731 Commits

Author SHA1 Message Date
David Vierra
d03d8c9912 Add command block tile inspector 2015-07-13 21:03:56 -10:00
David Vierra
6aca9d8457 Add Command block entity ref 2015-07-13 21:03:43 -10:00
David Vierra
dce11f83a3 registerBlockInspectorWidget expects a tileEntityID attribute instead of an ID argument 2015-07-13 21:03:13 -10:00
David Vierra
912f1058a8 Add demjson.py with modifications for compact command block output 2015-07-13 21:01:13 -10:00
David Vierra
1cae9b60bb Add Villager entity model 2015-07-13 16:34:02 -10:00
David Vierra
ee730eda2e BindTextureRenderNode is allowed to have texture == None 2015-07-13 16:33:37 -10:00
David Vierra
cb90fcbd26 Set default value for PCPaintingEntityRefBase.Facing 2015-07-13 16:33:21 -10:00
David Vierra
ef7b3d467a Raise ValueError in NBTAttr for missing default value 2015-07-13 16:33:04 -10:00
David Vierra
9d2eb9a821 Refactor: Move tile entity inspector widgets under widgets.inspector.tileentity 2015-07-13 16:32:47 -10:00
David Vierra
77665d26ce Sheep now have wool. Not colored yet. 2015-07-12 22:34:23 -10:00
David Vierra
2310a24468 Properly move an entity model's expected texture size to the models
Allows high res entity textures and also isn't completely disgusting.
2015-07-12 17:37:43 -10:00
David Vierra
32a09b555e Add cow, pig, sheep models 2015-07-12 16:41:45 -10:00
David Vierra
5de1f764fd Scenegraph refactor part 3
Change fully qualified imports to name imports
2015-07-12 13:32:42 -10:00
David Vierra
9f0b337f0e Scenegraph refactor part 2
Move Node types into separate files and keep them with their RenderNodes

Eww, fully qualified imports everywhere
2015-07-12 13:27:33 -10:00
David Vierra
d23f575154 Scenegraph refactor part 1
scenegraph -> scenegraph.scenenode
rendergraph -> scenegraph.rendernode
2015-07-12 13:11:36 -10:00
David Vierra
b2eff71a62 Add a really rough version of an entity renderer.
Has an interface similar to Minecraft's internal renderer.
Renders Zombies, Skeletons, Spiders, Creepers, and Zombie Pigmen.
2015-07-11 22:44:43 -10:00
David Vierra
875a5d5a03 Monster bounding boxes are now visible through walls 2015-07-11 22:44:00 -10:00
David Vierra
0822f87e7f Add scale option to BindTextureNode for scaling the texture matrix 2015-07-11 22:43:32 -10:00
David Vierra
421ae4f389 Add scenegraph nodes for matrix rotate and depth test function. 2015-07-11 22:43:09 -10:00
David Vierra
514b3155d1 Add method to SceneUpdateTask to get a model texture.
Uses the ResourceLoader from the texture atlas.
Puts the texture size on the texture where the entity model renderer can find it. Which is wrong.
Kinda gross.
2015-07-11 22:42:39 -10:00
David Vierra
eee4b5bf77 Fix face culling for glass/stained glass blocks.
18 more blocks to go!
2015-07-11 22:41:34 -10:00
David Vierra
725ee72b8f Display red boxes for entities as wireframes
Added PolygonModeNode
2015-07-11 11:38:03 -10:00
David Vierra
fd76076689 WorldView now accepts dropped map items dragged from Library panel
Map items are placed immediately with no "movable" intermediate.

xxx still need placement preview!
and xxx should allow URLs/schematic files/etc to be dropped from Library's Schematic panel, file explorer, etc!
2015-07-11 11:36:20 -10:00
David Vierra
31aec2a932 Library panel now shows a list of the current session's maps, for dragging and dropping 2015-07-11 11:35:04 -10:00
David Vierra
844049b0d4 Add mimeformats.py to support drag and drop 2015-07-11 11:33:24 -10:00
David Vierra
f127d86192 Map item frames now render correctly, right-side up and facing the right direction.
A missing mapTex is now "handled" by omitting the BindTextureNode (should have a placeholder tex)
2015-07-11 11:32:57 -10:00
David Vierra
e6f7513ac7 Red entity boxes no longer intersect the floor. 2015-07-11 11:31:40 -10:00
David Vierra
2e83d1937c Add function to translate MCEdit Face to Painting/ItemFrame Facing 2015-07-11 11:31:11 -10:00
David Vierra
a84ddb848e Fix bad default value in Painting.TilePos
xxx make TilePos version aware
2015-07-11 11:30:46 -10:00
David Vierra
bf380cdcfd Error messages: ItemStackRef -> ItemRef 2015-07-11 11:30:25 -10:00
David Vierra
cadcd74033 Add rough createEntity method to WorldEditor
Add creation support to PCEntityRef
ItemRef.id now handles an absent `id` tag on newly created ItemRefs
2015-07-11 11:30:01 -10:00
David Vierra
90b4678473 SetNBTDefaults now recurses through NBTCompoundAttrs 2015-07-11 11:28:17 -10:00
David Vierra
1f4b01e5f2 Fix bad default value for Item's 'tag' tag 2015-07-11 11:28:00 -10:00
David Vierra
5cad086e56 Fix typo in createMap 2015-07-10 18:27:12 -10:00
David Vierra
22778a9c81 libraryView -> libraryWidget 2015-07-10 13:12:18 -10:00
David Vierra
548e21463b Add ItemFrameMesh to render maps in item frames.
Added getMapTexture to SceneUpdateTask
Added ItemFrames rendering layer
Removed ItemFrame from MonsterRenderer
2015-07-09 16:30:33 -10:00
David Vierra
2812a416e5 Add PCItemFrameEntityRef and bases, rearrange entities.py
EntityRef creation is now dispatched to different classes by ID
2015-07-09 16:29:28 -10:00
David Vierra
55794970ce Split ItemRef off of ItemStackRef 2015-07-09 16:29:28 -10:00
David Vierra
3112a27885 NBTCompoundAttr now parents the CompoundRef it returns to its own CompoundRef 2015-07-09 16:25:11 -10:00
David Vierra
ae8925a8d3 AnvilMapData is now an NBTCompoundRef to parent it to the adapter 2015-07-09 16:24:44 -10:00
David Vierra
52c9dd4391 Added BindTextureNode 2015-07-09 16:24:13 -10:00
David Vierra
1cc058c064 Fix wall torches being tilted into their attached block
Need to check all other models to see what this affected!
2015-07-09 12:01:06 -10:00
David Vierra
f46ce88d9a Import Image as Map now implemented.
Removed mapCache from WorldEditor (questionable)
createMap ignores idcounts.dat and updates it.
Catch LevelFormatErrors while getting map datas.
2015-07-09 11:09:51 -10:00
David Vierra
d60ff4c552 Change "Expand" checkbox to "Stretch Tiles" in map import UI 2015-07-09 09:23:29 -10:00
David Vierra
926b873c75 Display error text in long description 2015-07-09 09:23:03 -10:00
David Vierra
740dcb0e0f Don't reverse tracebacks 2015-07-09 09:22:48 -10:00
David Vierra
5c4ab7a592 Add an error dialog and use it to show plugin load/unload errors.
Will be used later for errors in plugin execution and general errors from signal handlers and etc.

"Copy to PasteBin" still not implemented.
2015-07-08 13:32:36 -10:00
David Vierra
0584827087 Fix duplicate entries in generator types list, add some loggers 2015-07-07 12:51:04 -10:00
David Vierra
6bf52bbbaa Fool around with an L-system for drawing Hilbert curves. 2015-07-07 06:18:01 -10:00
David Vierra
72f7bd0d2e Add a DefaultVisibleLayers for WorldScenes which don't get their visible layers configured by a WorldView 2015-07-07 06:17:22 -10:00