Commit Graph

1586 Commits

Author SHA1 Message Date
haykam821 c22c154642
Map disable multiplayer and chat command line options (#1376) 2020-05-20 21:05:13 +01:00
Joseph Burton 2ce4c9b9aa
Registry mappings (#1379)
* Registry mappings

* Update mappings/net/minecraft/util/registry/Registry.mapping

Co-authored-by: Yanis48 <doublecraft.official@gmail.com>

* getOrCreateRegistryKey -> getOrCreateRootKey

Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-05-20 21:04:40 +01:00
modmuss50 5e898bb84a Restore registry names, give the new fields a temp name for now as their names are auto generated but incorrect. 2020-05-20 17:39:01 +01:00
modmuss50 4f89f2fdba 20w21a 2020-05-20 17:12:58 +01:00
Juuxel eb287934d9
Give the NeFos and RUMO structure piece types actual names (#1370)
Their names are automapped, but they are based on the short IDs
which don't make any sense.
2020-05-20 00:51:28 +01:00
Juuxel d7ea90c9a9
Rename Box fields (#1368) 2020-05-20 00:50:53 +01:00
Juuxel 26b7b704db
Rename logger print streams to not use prefix naming (#1371) 2020-05-20 00:50:12 +01:00
Shnupbups 4c440d8179
20w20a stuff (#1351)
* some stuff

new criterions, gamemode switcher screen, and datafixes

* more stuff

predicates and the other criterion i missed

* more predicate stuff

* Update mappings/net/minecraft/advancement/criterion/ItemUsedOnBlockCriterion.mapping

Co-authored-by: Yanis48 <doublecraft.official@gmail.com>

* Update PlayerGeneratesContainerLootCriterion.mapping

* Update GameModeSwitcherScreen.mapping

* more gamemode switcher stuff

* Update mappings/net/minecraft/advancement/criterion/PlayerGeneratesContainerLootCriterion.mapping

Co-authored-by: Yanis48 <doublecraft.official@gmail.com>

* Update mappings/net/minecraft/client/gui/screen/ingame/GameModeSwitcherScreen.mapping

Co-authored-by: Yanis48 <doublecraft.official@gmail.com>

* toast and tutorial things

just figured i'd throw this in

Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-05-20 00:49:55 +01:00
Mikhail Oleynikov 9ae9f240a7
onBlockRemoved -> onStateReplaced (#1363)
* onBlockRemoved -> onStateReplaced

* onStateReplaced Javadoc

* parent -> super style change

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>

* Tweak onStateReplaced Javadoc

* Update mappings/net/minecraft/block/AbstractBlock.mapping

Co-authored-by: liach <7806504+liach@users.noreply.github.com>

* Update mappings/net/minecraft/block/AbstractBlock.mapping

Co-authored-by: liach <7806504+liach@users.noreply.github.com>

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-05-19 01:44:24 +01:00
s-maurice 6d03f1f103
updated distance to spacing to make consistent with naming for other structures and in useages in StructureFeature classes, particularly AbstractTempleFeature (#1362) 2020-05-18 14:08:31 +01:00
Deximus-Maximus ca79a51a1a
Material Name Improvements (#1190)
* Begin refactor work:
Sand -> Aggregate
Underwater Plant -> Aquatic Plant
Bamboo Sapling -> Bamboo Shoot
Part -> Decoration
Packed Ice -> Dense Ice
Organic -> Fodder
Pumpkin -> Gourd
Clay -> Mob Derived
Anvil -> Repair Station
Seagrass -> Replaceable Aquatic Plant
Snow -> Snow Layer
Earth -> Topsoil

* Undo Sapling -> Shoot

* AQUATIC -> UNDERWATER to account for lily pad being under PLANT

* Add javadocs for material names

* Update javadoc based on comments

* Update JD based on feedback

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* Update JD based on feedback

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* Update JD based on feedback

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* Update JD based on feedback

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* Remove errant comment

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* Add missing punctuation

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* Fix errant JD

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* Remove unneeded javadoc
Added previous name to javadoc

* Remove old names JD

* Remove missed old name

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* Fix link format

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* Implement feedback

* FODDER -> SOLID_ORGANIC

* update JD

* Fix JD typo

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* SUB -> Partial
Update stone JD

* Fix outdated JD

* Fix JD link for ICE

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* Add missing punctuation

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* Explicitly state block in JD 1

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* Explicitly state block in JD

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* Add skulls to JD for PARTIAL_BLOCK

Co-Authored-By: Yanis48 <doublecraft.official@gmail.com>

* Update JD names on NETHER_WOOD

Adds hyphae

Co-Authored-By: Yanis48 <doublecraft.official@gmail.com>

* MOB_DERIVED -> ORGANIC_PRODUCT

* PARTIAL_BLOCK -> SUPPORTED

* TOPSOIL -> SOIL

* Simplify organic product JD

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-05-15 16:39:10 +01:00
shedaniel b24611fe8e
Some refactor and clean up with KeyBinding and EntryListWidget$Entry (#1348)
* Some clean up with KeyBinding and EntryListWidget$Entry

Signed-off-by: shedaniel <daniel@shedaniel.me>

* Apply suggestions from code review

Co-authored-by: liach <7806504+liach@users.noreply.github.com>

* Rename to InputUtil$Key

Signed-off-by: shedaniel <daniel@shedaniel.me>

* 20w20a

Signed-off-by: shedaniel <daniel@shedaniel.me>

* Update mappings/net/minecraft/client/util/InputUtil.mapping

Co-authored-by: liach <7806504+liach@users.noreply.github.com>

* Update mappings/net/minecraft/client/gui/widget/EntryListWidget.mapping

Co-authored-by: Yanis48 <doublecraft.official@gmail.com>

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-05-15 16:36:40 +01:00
Prospector c67050a4f4
Fix a slight error with the loot table generator mappings (#1357) 2020-05-15 16:35:35 +01:00
Joseph Burton b48dcfcbc9
Packet mappings (#1358) 2020-05-15 16:35:03 +01:00
SuperCoder79 bfbea641fc
map chunk generators and biome sources (#1352)
* map chunk generators and biome sources

* map more parameters and functions, and rename noise

* bikeshedding

* Apply suggestions from code review

Co-authored-by: Yanis48 <doublecraft.official@gmail.com>

* disambiguate depth noise

* Update mappings/net/minecraft/world/gen/chunk/FlatChunkGenerator.mapping

Co-authored-by: Yanis48 <doublecraft.official@gmail.com>

Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-05-14 21:55:51 +01:00
Joseph Burton 21ff19a1b9
20w20b mappings (#1355) 2020-05-14 12:34:17 +01:00
modmuss50 ee7f594111 20w20b 2020-05-14 11:14:04 +01:00
i509VCB e1bce15cca
The WorldAccesses (#1350) 2020-05-14 10:30:25 +01:00
Mikhail Oleynikov 38158a35ec
JigsawOrientation mapping (#1354) 2020-05-14 10:29:12 +01:00
i509VCB 7df3e4d656
TickableRealmsButton -> TickableElement (#1349)
This is because it isn't for realms anymore, and Screen implements this
2020-05-13 21:02:22 +01:00
modmuss50 015995dd3f 20w20a 2020-05-13 18:06:00 +01:00
valoeghese f452d4fec2
Start on chunk generator docs (#1346)
* start on chunk generator docs

* fix typo

* linkplain

* update chunk generator jdoc.

* comma
2020-05-12 01:17:01 +01:00
Shnupbups 2cf6919014
stuff (#1334)
yep
2020-05-11 12:50:12 +01:00
Joseph Burton cb153d1679
Nether biome sampling mappings (#1347) 2020-05-11 12:45:15 +01:00
i509VCB f0b960559c
Some block methods and param names (#1335)
* Some block methods and param names

* Update mappings/net/minecraft/block/AbstractRailBlock.mapping

Co-authored-by: liach <7806504+liach@users.noreply.github.com>

* Update mappings/net/minecraft/world/Difficulty.mapping

Co-authored-by: liach <7806504+liach@users.noreply.github.com>

* Update mappings/net/minecraft/block/entity/LockableContainerBlockEntity.mapping

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2020-05-11 12:44:39 +01:00
i509VCB b93876d22a
Entity predicates javadoc (#1345)
* Entity predicates javadoc

* Grammar brainfart

* Update mappings/net/minecraft/predicate/entity/EntityPredicates.mapping

Co-authored-by: liach <7806504+liach@users.noreply.github.com>

* VALID_LIVING_ENTITY

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-05-11 12:44:11 +01:00
Prospector d3323c23bf
Improve Loot Table mappings (#1338)
* Improve Loot Table mappings

* Fix a couple wrong names

* finish itemDropper -> lootConsumer

* AND -> NOR
2020-05-10 18:48:40 +01:00
Juuxel 5819592fda
TextRenderer.getStringWidth(Text) -> getWidth() (#1341) 2020-05-09 23:53:16 +01:00
Yanis48 077ab15730
Music & fixes (#1339)
* Music & fixes

* musicSound -> music
2020-05-09 17:00:24 +01:00
Juuxel 246edc42ab
Map FallibleItemDispenserBehavior.success accessors (#1340) 2020-05-09 16:59:52 +01:00
Yanis48 e72a65b900
Command stuff (#1330)
* Command stuff

* TeamsgCommand -> TeamMsgCommand
2020-05-07 22:21:09 +01:00
Joseph Burton 1f8c97ed9f
Goal selector related mappings (#1336)
* Goal selector related mappings

* Update mappings/net/minecraft/entity/ai/goal/GoalSelector.mapping

Co-authored-by: Yanis48 <doublecraft.official@gmail.com>

Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-05-07 16:07:12 +01:00
liach 9b001525fa
EntityCategory -> SpawnGroup, SpawnType -> SpawnReason (#1327)
* EntityCategory -> SpawnGroup, SpawnType -> SpawnReason

Closes #1315

* Fix missed name

Co-authored-by: liach <liach@users.noreply.github.com>
2020-05-06 21:53:25 +01:00
Juuxel 47b6960be2 Screen fixes and drawTexture docs (#1324)
* Screen fixes and drawTexture docs

* renderDirtBackground -> renderBackgroundTexture

* Add docs

* Remove empty comments

* Clarify renderBackgroundTexture comment
2020-05-06 21:52:31 +01:00
Joseph Burton 7725dcb827
Lots of entity mappings (#1322)
* Lots of entity mappings

* Apply review suggestions

* Apply more review suggestions

* Tweak drowned and enderman mappings

* Properly rename EndermanEntity.chasing -> provoked

* capChange -> stepTowards
2020-05-06 21:49:35 +01:00
modmuss50 ef74eec9c1 20w19a 2020-05-06 18:28:56 +01:00
Joseph Burton 7f203aa3b5
Update Enigma (#1333) 2020-05-06 14:00:10 +01:00
Hephaestus-Dev 32d84d6276
Methods and field relating to player disconnecting (#1331)
* Update ServerPlayerEntity.mapping

* Update ServerPlayerEntity.mapping
2020-05-06 01:43:27 +01:00
Joseph Burton d31805d0b7
Block Action -> Synced Block Event. Level Event -> Synced World Event (#1323)
* block action -> synced block event, level event -> synced world event

* Missed a couple, made parameters consistent
2020-05-02 21:29:07 +01:00
liach 001998d876
Spawn mappings (#1316)
* Spawn mappings

Signed-off-by: liach <liach@users.noreply.github.com>

* Updates some stuff per juuz suggestion

Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2020-05-02 13:31:15 +01:00
liach 2e74ea5a2f
Advancement new stuff and refactor old bad names (#1310)
* Advancement new stuff and refactor old bad names

Signed-off-by: liach <liach@users.noreply.github.com>

* loader/saver -> deserializer/serializer

Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2020-05-02 13:31:08 +01:00
Yanis48 1f2d9d7e4b
Bring back the parameters (#1307)
* Bring back the parameters

* better

* isBlock -> matches

* matches -> is / isOf
2020-05-02 13:31:02 +01:00
liach 3dff7b8529
Restore missing BeeDebugRenderer$Bee (#1314)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2020-05-02 00:40:51 +01:00
­Sollace 607197f5d9
Rcon (#1313)
* RconServer -> RconListener (Mojang name)

* Mapped some missing names and params in Rcon
2020-05-01 14:55:34 +01:00
liach c1df20bd04
item property getter (#1305)
* item property getter

Signed-off-by: liach <liach@users.noreply.github.com>

* rename this to model predicate provider as it provides values for model predicates

Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2020-04-30 12:20:29 +01:00
i509VCB 1ecd1031fa
Map some blocks, fluids and block entities (#1309)
* Map some block, fluid and block entities

* Flowing -> Flowable

* oops

* Update mappings/net/minecraft/block/entity/CommandBlockBlockEntity.mapping

Co-Authored-By: Juuxel <6596629+Juuxel@users.noreply.github.com>

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2020-04-30 12:20:20 +01:00
liach e19a774422
Datafixer and random utilities (#1306)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2020-04-30 12:19:56 +01:00
i509VCB 07205b5cbc
Some javadoc and param names in mostly server related classes. (#1278)
* Some javadoc and param names in mostly server related classes.

* Update mappings/net/minecraft/client/gui/hud/InGameHud.mapping

Co-Authored-By: Yanis48 <doublecraft.official@gmail.com>

* Update mappings/net/minecraft/server/rcon/RconBase.mapping

Co-Authored-By: Yanis48 <doublecraft.official@gmail.com>

* Make javadoc a bit nicer

* fixes 2

* Update ArgumentTypes.mapping

Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-04-30 12:19:49 +01:00
liach 2da805da6b
A few stuff around tags (#1311)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2020-04-30 11:32:37 +01:00
liach 104490a2e2
Entity type missing stuff, new server properties (#1312)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2020-04-30 11:32:20 +01:00
Kroppeb 1a923c8bca
Small rename in Advancement$Task. (#1308)
I saw it and it annoyed me =/.
2020-04-30 00:31:38 +01:00
SuperCoder79 aab2c54e5c
multiplayer enigma boogaloo (#1298)
* a lot of very random mappings

* fix mappings

* typo

* Update mappings/net/minecraft/client/font/TextRenderer.mapping

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-04-29 20:28:00 +01:00
modmuss50 9a617e4707 20w18a 2020-04-29 17:24:56 +01:00
Kroppeb 8bf2b067a9
Renamed `createBossBar` to the more apropriate `getBossBar` (#1304) 2020-04-28 22:58:47 +01:00
Kroppeb 09f2c49653
Fix method name in VoronoiBiomeAccessType (#1296)
* Fix method name in VoronoiBiomeAccessType

* Changed method name to match similar named functions
2020-04-27 20:33:24 +01:00
Yanis48 8a00a58f58
Attribute command & related stuff (#1295)
* Attribute command & related stuff

* missed parameters

* updated name
2020-04-26 22:16:16 +01:00
liach fcd86fa77a
Text mappings (#1297)
* Text mappings

still a bit more to go

Signed-off-by: liach <liach@users.noreply.github.com>

* Stage

* Broken jd

* I'm pleased

Signed-off-by: liach <liach@users.noreply.github.com>

* Few problems spotted before

Signed-off-by: liach <liach@users.noreply.github.com>

* Moar jd

* call it id overrides

* Update mappings/net/minecraft/text/TextColor.mapping

* Nice fixes

Co-Authored-By: Yanis48 <doublecraft.official@gmail.com>

* Update mappings/net/minecraft/text/MutableText.mapping

Co-Authored-By: Juuxel <6596629+Juuxel@users.noreply.github.com>

* Update TextHandler.mapping

due to an enigma shortcoming

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2020-04-26 01:29:03 +01:00
i509VCB d4063b9643
Map new GameRule methods and EditGameRulesScreen (#1299)
* Map new GameRule methods and EditGameRulesScreen

* Update mappings/net/minecraft/client/gui/screen/world/EditGameRulesScreen.mapping

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* Update mappings/net/minecraft/client/gui/screen/world/EditGameRulesScreen.mapping

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* confusing names fixed

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-04-24 23:11:41 +01:00
­Sollace 294117575e
20w15a Mapping Fixes 2: The Jumping The Shark Update (#1172)
* Fill in missing names, fix questionable ones

* ForgingScreen -> AbstractForgingScreen

* Revert background -> texture

* Revert background -> texture (2)

* AbstractForgingScreen -> ForgingScreen

* AbstractForgingScreen -> ForgingScreen
2020-04-23 13:37:17 +01:00
modmuss50 a3931656df Update enigma to fix the dark theme 2020-04-22 23:00:18 +01:00
modmuss50 659b0da1dd 20w17a 2020-04-22 16:59:47 +01:00
liach 9e75adb26a
Map Structure PalettedBlockInfoList (#1290)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2020-04-19 00:00:25 +01:00
liach ee2489da71
Update stitch and enigma to fix dependency problems (#1291)
* Move enigma above stitch so we don't use stitch's enigma

Signed-off-by: liach <liach@users.noreply.github.com>

* This runs for now

Signed-off-by: liach <liach@users.noreply.github.com>

* This should look good

Signed-off-by: liach <liach@users.noreply.github.com>

* Prepare to use stitch 0.4.6 later

Signed-off-by: liach <liach@users.noreply.github.com>

* Use actual stitch

Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2020-04-19 00:00:18 +01:00
liach 56285a38b7
Map tag tracked entry (#1289)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2020-04-18 20:17:02 +01:00
liach 206a6e5b76
Pick up shnupbup's stuff (#1288)
* stuff

Removed duplicated mapping

Signed-off-by: liach <liach@users.noreply.github.com>

Map a lot of detail missed by shnupbups

Signed-off-by: liach <liach@users.noreply.github.com>

Few more interesting mappings

Signed-off-by: liach <liach@users.noreply.github.com>

* view -> world

Co-Authored-By: Yanis48 <doublecraft.official@gmail.com>

* Update mappings/net/minecraft/world/gen/feature/RuinedPortalFeaturePiece.mapping

Co-Authored-By: Yanis48 <doublecraft.official@gmail.com>

* Better document these 4 things

Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: Shnupbups <shnupbups@gmail.com>
Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
Co-authored-by: liach <liach@users.noreply.github.com>
2020-04-18 20:16:55 +01:00
liach eb3b023106
Update dependencies (#1287)
* Update mappingpoet

Jd still builds without warning, should be good

Signed-off-by: liach <liach@users.noreply.github.com>

* Bump version for other things as well

* Rollback enigma (See FabricMC/Enigma#224)

Signed-off-by: liach <liach@users.noreply.github.com>

* Update enigma again, thanks juuxel

Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2020-04-18 19:43:54 +01:00
liach 7180726b1f
Fix javadoc warnings (#1286)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2020-04-18 14:55:18 +01:00
liach 6455e15fcb
Map two inner classes (#1284)
* Map two inner classes

Signed-off-by: liach <liach@users.noreply.github.com>

* Rename angle randomizer fields to have more informative names

Co-authored-by: liach <liach@users.noreply.github.com>
2020-04-18 14:55:08 +01:00
liach b13c848a9a
20w16a jmx (#1281)
* 20w16a jmx

Signed-off-by: liach <liach@users.noreply.github.com>

* Rename bad stuff and add javadocs

Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2020-04-16 23:20:40 +01:00
liach aae7c8179f
Map the new serverbound jigsaw generating packet (#1283)
This is jigsaw generate things not things generate jigsaw

Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2020-04-16 02:55:11 +01:00
­Sollace 67a8a36b13
Misc Strider mappings (#1273)
* Misc strider mappings

* Fix conflic (Mountable was already mapped as "Saddle-able")
2020-04-16 02:47:24 +01:00
modmuss50 863b0e905c 20w16a 2020-04-15 16:34:32 +01:00
Joseph Burton bff0236300
World modification fix (#1232)
* World modification fix

* isWorldModificationRestricted -> isBlockBreakingRestricted
2020-04-14 15:01:34 +01:00
Yanis48 4a8babd645
Some entity stuff (#1277)
* entity things

* message methods
2020-04-14 15:01:24 +01:00
Shnupbups 558487a1c0
i mapped things: HD remaster (#1271)
* some stuff HD remaster

* Update mappings/net/minecraft/world/biome/BasaltDeltaBiome.mapping

Co-Authored-By: Yanis48 <doublecraft.official@gmail.com>

* Delta -> Deltas

* Apply suggestions from code review

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* Update mappings/net/minecraft/world/gen/feature/DeltaFeatureConfig.mapping

Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-04-14 15:01:16 +01:00
Juuxel 5d0a3114ba
AbstractBlock.Settings.dropTableId -> lootTableId (#1276) 2020-04-09 18:38:37 +01:00
Prospector 53df6519d5
getDropTableID -> getLootTableId (#1274)
* getDropTableID -> getDropTableId

* Update AbstractBlock.mapping

* dropTableId -> lootTableId
2020-04-09 13:22:03 +01:00
liach 159546e8cd
Map some 20w15a new classes (entities, enchantments) (#1269)
* Map some 20w15a new classes (entities, enchantments)

Signed-off-by: liach <liach@users.noreply.github.com>

* Some javadocs

* Just refer by id

Signed-off-by: liach <liach@users.noreply.github.com>

* Fix bad class name

Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2020-04-08 21:48:41 +01:00
modmuss50 cf0ef0a6bd 20w15a 2020-04-08 15:44:19 +01:00
liach ec6bba566f
Generate javadocs (#1268)
* Eww, embrace #1266! Die in a 🔥 bukkit javadocs!

Signed-off-by: liach <liach@users.noreply.github.com>

* Add jd artifact, travis start doing javadoc [ci skip]
doesn't have mapping poet ready yet

Signed-off-by: liach <liach@users.noreply.github.com>

* Make it fail on error (otherwise it just outputs an empty directory) [ci skip]

* Update to handle javadocs with annos [ci skip]

Signed-off-by: liach <liach@users.noreply.github.com>

* Use the maven dep, nice

Signed-off-by: liach <liach@users.noreply.github.com>

* Link to more useful libraries

Signed-off-by: liach <liach@users.noreply.github.com>

* Is it old gradle wrapper causing problems

Signed-off-by: liach <liach@users.noreply.github.com>

* Try clean and see if it changes. Dunno why, this always worked on my machine

* No clue

Signed-off-by: liach <liach@users.noreply.github.com>

* Err

* ???

* err

* .

Signed-off-by: liach <liach@users.noreply.github.com>

* I thonk I fixed it

Signed-off-by: liach <liach@users.noreply.github.com>

* Tweak jenkinsfile

Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2020-04-07 21:13:29 +01:00
Yanis48 19270ae02a
Random fixes (#1265)
* bug fixes

* Update BlockEntity.mapping

* abcd -> xyzw

* closes #856
2020-04-07 00:29:55 +01:00
liach b4efaeadd2
trunk placer and tree generation mappings (#1261)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2020-04-05 15:53:26 +01:00
liach 8a6cdb8699
Rename attribute factory methods to be unique (#1263)
I hate unqualified static method/field calls and static inference!

Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2020-04-05 12:19:15 +01:00
liach 032ee0894b
Region and session lock (#1254)
* Region and session lock

Signed-off-by: liach <liach@users.noreply.github.com>

* Update mappings/net/minecraft/world/gen/StructureAccessor.mapping

Co-Authored-By: Yanis48 <doublecraft.official@gmail.com>

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-04-04 21:19:01 +01:00
liach cabb00e658
20w14a Attributes (#1256)
* 20w14a Attributes

Signed-off-by: liach <liach@users.noreply.github.com>

* Map the attributes method for zoglin

Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2020-04-04 21:18:55 +01:00
Juuxel 3d277f0082
Use serialized names for Biome.MixedNoisePoint fields (#1247) 2020-04-03 20:17:51 +01:00
liach e0b168b919
Tags (#1250)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2020-04-03 20:14:29 +01:00
Yanis48 4bf04724a5
Level file mappings (#1253)
* level file mappings

* synchronous -> dsync, revert enigma update
2020-04-03 20:12:27 +01:00
Shnupbups 5ef7ccfb9b
some 14a stuff (#1251)
* some 14a stuff

* Apply suggestions from code review

Co-Authored-By: Yanis48 <doublecraft.official@gmail.com>
Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-04-03 20:11:08 +01:00
liach 0a9fd73fa4
20w14a dfu (#1252)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2020-04-03 03:30:47 +01:00
modmuss50 0c14fa6444 20w14a 2020-04-02 18:40:17 +01:00
liach c785526e75
block bad names and glstatemanager bad stuff, rotation3 -> affine transformation (#1244)
* block bad names and glstatemanager bad stuff, rotation3 -> affine transformation

close #1224, close #1233, close #1234, close #1241

* Update mappings/com/mojang/blaze3d/platform/GlStateManager.mapping

Co-Authored-By: Yanis48 <doublecraft.official@gmail.com>

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-04-01 17:32:46 +01:00
Yanis48 d154cce219
block entity mappings (#1237) 2020-04-01 02:02:51 +01:00
Prospector 18c62920fc
Fix two more errors with Criterions instead of Criteria (#1243) 2020-03-31 01:35:21 +01:00
i509VCB 4b817e7c68
2 Rename fixes (#1242) 2020-03-30 18:35:14 +01:00
Shnupbups 8cd54e4886
stuff (#1231)
* stuff

less cursed this time hopefully

* Apply suggestions from code review

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* Update ItemSteerable.mapping

* Update HungerManager.mapping

* revert Quaternion changes

* supplier -> table

* Update CrashReport.mapping

* Apply suggestions from code review

Co-Authored-By: Juuxel <6596629+Juuxel@users.noreply.github.com>
Co-Authored-By: Yanis48 <doublecraft.official@gmail.com>

* Update WorldBorderListener.mapping

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-03-30 09:10:03 +00:00
Azteched 6199cacacd
Fixed Item spelling in register method (#1238) 2020-03-29 18:05:36 +01:00
­Sollace 99ba24aaaf
Remap inventories :D (#1154)
* Remap inventories :D

* @see -> see @link

* getMaxStackAmount -> getMaxCountPerStack

Co-Authored-By: Juuxel <6596629+Juuxel@users.noreply.github.com>

* Rename InventoryChangedListener.mapping to InventoryChangeCallback.mapping

* putStack -> setStack

* JD fixes

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* Fix filename

* isAccessible -> canStayOpen

* isAccessible -> canStayOpen

* Update javadoc

* jd for getMaxCountPerStack

Return value jd taken from #1053 (with fixes)

* Update mappings/net/minecraft/inventory/SidedInventory.mapping

Co-Authored-By: Yanis48 <doublecraft.official@gmail.com>

* canStayOpen -> canPlayerUse

* canStayOpen -> canPlayerUse

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-03-27 18:04:46 +00:00
liach 80aa993105
Move direction transformation and matrix3f to util math (need same package) (#1235)
move two matrices to non-client;
move two transformations to util math;
move globalpos to dynamic;
move propagator to world;
a few other util additions

Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2020-03-27 15:08:10 +00:00
­Sollace 3d228282e6
Renderer mappings (#988)
* part.render(matrix, vertices, light, overlay, red, green, blue, alpha)

* Fixed bad names

* Determined by the call to part.render(matrix, vertices, light, overlay)
  which delegates to part.render(matrix, vertices, light, overlay, 1, 1, 1, 1)

* Now we extrapolate to everything that calls part.render(matrix, vertices, light, overlay)
  Meanhile VertexConsumerProvider is

* Now we extrapolate to everything that cals pars.render(matrix, vertices, light, overlay, red, green, blue, alpha)

* This is not a render method! It sets the yaw and pitch on the skull

* Now we extrapolate to things that call mode.render(matrix, vertices, light, overlay, red, green, blue, alpha)
  Not much to change there though

* These are known from EntityRenderDispatcher

* render calls renderLabelIfPresent

* Now we're looking at things which call EntityRenderDispatcher.render(entity, x, y, z, yaw, matrix, provider, light)

* In ClientPlayNetworkHandler.onItemPickupAnimation the second entity is gotten from packet.getCollectorEntityId and defaulted to the player if null. The first entity is an item entity or an experience orb entity

* Going back to EntityRenderDispatcher, we can see the code for rendering shadows was moved here from the renderer itself

if (this.gameOptions.entityShadows && this.renderShadows && entityRenderer14.shadowRadius > 0.0f && !entity.isInvisible()) {
    double double22 = this.getSquaredDistanceToCamera(entity.getX(), entity.getY(), entity.getZ());
    float float24 = (float)((1.0 - double22 / 256.0) * entityRenderer14.field_4672);
    if (float24 > 0.0f) {
       renderShadow(matrix, provider, entity, float24, tickDelta, this.world, entityRenderer14.shadowRadius);
    }
}

* The last parameter is shadow radius, but to be sure we check, nd indeed it is reduced when the rendered entity is a baby

    private static void renderShadow(MatrixStack matrix, VertexConsumerProvider provider, Entity entity, float float4, float tickDelta, WorldView world, float radius) {
        float float8 = radius;
        if (entity instanceof MobEntity) {
            if (((MobEntity)entity).isBaby()) {
                float8 *= 0.5f;
            }
        }

* float4 was a myster, but it's just passed down as-is and used to determine the opacity of the shadow!

float float16 = (float)((opacity - (y - pos.getY()) / 2.0) * 0.5 * world.getBrightness(pos));
if (float16 >= 0.0f) {

* Forgot this one

* This is all low-hanging fruit.

* EntityRenderDispatcher.shouldRender(entity, frustrum, x, y, z)
-> EntityRenderer.isVisible(entity, frustrum, x, y, z)
-> Entity.shouldRenderFrom(x, y, z)

    @Environment(EnvType.CLIENT)
    public boolean shouldRenderFrom(double x, double y, double z) {
        double double8 = this.getX() - x;
        double double10 = this.getY() - y;
        double double12 = this.getZ() - z;
        double double14 = double8 * double8 + double10 * double10 + double12 * double12;
        return this.shouldRenderAtDistance(double14);
    }

* More things we know

* This is set by calling entity.getLeaningPitch

* This is only overriden by CreeperEntityRenderer and returns a float computed from the fuse time.
The value is then passed to getOverlay where it's passed to OverlayTexture.getU(animationCounter).

This causes the creeper to flash white when active. The same method,
interestingly, will use the V to create the hurt/death overlay

OverlayTexture.packUv(
	OverlayTexture.getU(animationCounter),
	OverlayTexture.getV(entity.hurtTime > 0 || entity.deathTime > 0)
)

* The final patches

* xrayEnabled -> isGlowing

* Commit suggestions/name changes I missed during rebase

Co-Authored-By: Juuxel <6596629+Juuxel@users.noreply.github.com>

* Fix typos

* yaw -> tickDelta

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* provider -> vertexConsumers

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* matrix -> matrices

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* Fixed some encorrect names

* entry -> matrices

* textureU/V -> u/v

* isBanner -> isBannerBlock

* frustrum -> frustum

Co-Authored-By: Gegy <gegy1000@gmail.com>

* Fix broken/changed mappings for 20w10a

* grammar

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* Update mappings/net/minecraft/client/particle/ItemPickupParticle.mapping

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: Gegy <gegy1000@gmail.com>
2020-03-27 11:06:32 +00:00