Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: attempting to make a plugin to spawn giants
Post: RE: attempting to make a plugin to spawn giants

It should still work. The vector object just pushes three integers and then the API takes just three integers. I don‘t think anyone took the time to add this explicitly
12xx12 Plugin Discussion 6 865 07-14-2021, 03:22 AM
    Thread: attempting to make a plugin to spawn giants
Post: RE: attempting to make a plugin to spawn giants

NiLSPACE Wrote: (07-14-2021, 03:15 AM) -- Hi, welcome to the forum! The reason it's giving an error is because you're calling 'SpawnMob' on a player object. What you want is the world object, prob...
12xx12 Plugin Discussion 6 865 07-14-2021, 03:16 AM
    Thread: attempting to make a plugin to spawn giants
Post: RE: attempting to make a plugin to spawn giants

Hi, The Player doesn't contain a SpawnMob Method. You need to get the world object from the player and call the spawn method from there. Code: -- Player:GetWorld():SpawnMob(Player:GetPosition(), m...
12xx12 Plugin Discussion 6 865 07-14-2021, 03:12 AM
    Thread: Block State transition
Post: RE: Block State transition

To do it properly it would be a one time thing (like with any minecraft update) We just need a proper way to write block states to disk -> world loading,saving
12xx12 Development 5 663 06-29-2021, 06:25 AM
    Thread: Block State transition
Post: RE: Block State transition

And reguarding 1) Loading a pre block-state map requires us to do more then just iterating through the map and switching block/meta to blockstate. Large plants for example are now stored differently...
12xx12 Development 5 663 06-29-2021, 04:08 AM
    Thread: Block State transition
Post: RE: Block State transition

NiLSPACE Wrote: (06-29-2021, 02:39 AM) -- If it were up to me I'd say: 1) No, world loading can be done at a later date. 2) Ideally yes, but if there are only a few minor bugs that can be fixed lat...
12xx12 Development 5 663 06-29-2021, 03:56 AM
    Thread: Block State transition
Post: Block State transition

Just wanted to give a heads-up. This is more or less working. More or less.... The most important thing is to merge the other BlockState class and fixing the API. I have some questions: 1) D...
12xx12 Development 5 663 06-28-2021, 07:27 PM
    Thread: Cuberite Newsletter Spring 2021
Post: Cuberite Newsletter Spring 2021

Forum discussion thread for "Cuberite Newsletter Summer 2021". Click here for the article (https://cuberite.org/news/cuberite-spring-2021-newsletter/)
12xx12 News 0 956 04-21-2021, 12:54 AM
    Thread: Skins Restorer plugin
Post: RE: Skins Restorer plugin

HeCorr Wrote: (04-19-2021, 12:06 AM) -- 12xx12 Wrote: (04-18-2021, 01:43 PM) -- I think in the end it comes down to those lines -- Yes, on the Skin Restorer's side. I meant how the skin is updated...
12xx12 Plugin Requests 5 1,228 04-19-2021, 12:33 AM
    Thread: Skins Restorer plugin
Post: RE: Skins Restorer plugin

Code: --                 Object ep = ReflectionUtil.invokeMethod(p.getClass(), p, "getHandle");                 Object profile = ReflectionUtil.invokeMethod(ep.getClass(), ep, "getProfile");     ...
12xx12 Plugin Requests 5 1,228 04-18-2021, 01:43 PM
    Thread: How to get block at coordinates?
Post: RE: How to get block at coordinates?

_XxFedexX_ Wrote: (04-12-2021, 11:30 PM) -- NiLSPACE Wrote: (04-12-2021, 09:07 PM) -- You can do it with this code: [shcode=lua] local blocktype = world:GetBlock(player:GetPosition():addedY(-1)); ...
12xx12 Development 3 748 04-12-2021, 11:33 PM
    Thread: BedChanger
Post: RE: Bed Changer

Yeah - it‘s working ? Can you also post it to the plug-in repository? https://plugins.cuberite.org/
12xx12 Plugin Releases 3 1,014 04-09-2021, 03:21 PM
    Thread: BlockState breaking the API
Post: RE: BlockState breaking the API

NiLSPACE Wrote: (03-11-2021, 09:43 PM) -- This might be a long shot, but can we replace all E_BLOCK_XYZ global variables to have a blockstate variable instead of the integer we have now? I'm not sure...
12xx12 Development 3 837 03-11-2021, 10:06 PM
    Thread: BlockState breaking the API
Post: BlockState breaking the API

So the BlockState PR is gonna break the API in some ways. So how are we gonna go about it? There is a function convering BlockState BlockType, NibbleType. We can manually export all the functio...
12xx12 Development 3 837 03-11-2021, 09:32 PM
    Thread: 1.13 migration, aims & objectives
Post: RE: 1.13 migration, aims & objectives

tigerw Wrote: (03-09-2021, 10:14 PM) -- There's already a BlockState struct in BlockState.h. -- Yeah - i saw that. I'm workign slowly forwand to replace everything. I'm stuck at unity_35 at this po...
12xx12 Development 8 2,229 03-09-2021, 10:24 PM
    Thread: 1.13 migration, aims & objectives
Post: RE: 1.13 migration, aims & objectives

So we have the autogenerated stuff in Registries/BlockStates.h .cpp So now we'll have to create the struct with the comparison operator and replace any operation taking a BLOCKTYPE, NIBBLETYPE with...
12xx12 Development 8 2,229 03-08-2021, 07:49 PM
    Thread: error
Post: RE: error

bastion Wrote: (03-07-2021, 04:03 AM) -- Hello If I wanna ad a player t?hen cuberite server shut down with error. Anybody knows what this is? Hans -- Hi, sorry that the server crashes for y...
12xx12 Discussion 7 1,267 03-07-2021, 04:08 AM
    Thread: Is there no ender dragon in the end?
Post: RE: Is there no ender dragon in the end?

Hi, Yes there is no ender dragon. We‘re working on it but it will take some time because it doesn’t do anything. If you spawn it with /summon you will see what I mean...
12xx12 Discussion 2 811 02-23-2021, 05:03 PM
    Thread: Not able to run command inside plugin
Post: RE: Not able to run command inside plugin

We're still using the numeric identification for blocks which was removed by mojang in 1.13. At this point you'll have to use a number. We're working on it Edit: isn't the C++ function to do this exp...
12xx12 Plugin Discussion 11 1,669 02-19-2021, 12:16 AM
    Thread: Mob AI Issue and Possible Fix
Post: RE: Mob AI Issue and Possible Fix

Hi and Welcome to the house project! You are welcome to join us on the projects GitHub repo and open a PR
12xx12 Development 3 1,009 12-11-2020, 07:29 PM